Am trying to send HTTP Get request via C#. But it seems not working. Here is my work. And i wanna from you the corrections needed to make it work !
String Mobile = txt_phone.Text;
String Message = "You have registered successfuly.";
Uri targetUri = new Uri("http://sms-om.com/smspro/sendsms.php?user=HatemSalem");
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest) System.Net.HttpWebRequest.Create(targetUri);
You currently haven’t executed the request, use:
This is the point where it will actually get data from the web and give you any relevent errors