Even after providing all the credentials I am getting this error..
Code=0 You are not valid api user
this is the code I have done so far
string sURL = "http://hapi.smsapi.org/SendSMS.aspx?UserName=" + UserName + "&password=" + password + "&MobileNo=" + MobileNo + "&SenderID=" + SenderID + "&CDMAHeader=" + CDMAHeader + "&Message=" + Message + "";
// Create the web request
HttpWebRequest request = WebRequest.Create(sURL) as HttpWebRequest;
// Get response
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
{
// Get the response stream
StreamReader reader = new StreamReader(response.GetResponseStream());
// Console application output
Console.WriteLine(reader.ReadToEnd());
Console.ReadLine();
Any Suggestions....

New Topic/Question
Reply




MultiQuote


|