Send SMS to mobile phone using SMS API in [Resolved]

Posted by Rashedbin under VB.NET on 6/27/2015 | Points: 10 | Views : 1287 | Status : [Member] | Replies : 1
i want to send SMS from my application.I have bought an API from a company.they provided this url

they also gave me username and password.

now how i can send SMS using this url.


Posted by: Sheonarayan on: 6/29/2015 [Administrator] HonoraryPlatinum | Points: 50


To call the API URL, write below code
System.Net.WebRequest request = System.Net.HttpWebRequest.Create("");
System.Net.WebResponse response = request.GetResponse();
System.IO.StreamReader reader = new System.IO.StreamReader(response.GetResponseStream());
string responseText = reader.ReadToEnd(); // read the response from the url

responseText will be the status you would receive from the SMS API.

Sheo Narayan

Rashedbin, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response