string url = "http://188.8.131.52/kiran.php";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create (url);
request.Method = "POST";
request.ContentType = "application/json";
HttpWebResponse myResp = (HttpWebResponse)request.GetResponse ();
This is the code i used to make HttpRequest using post method but its working when i use GET method. The only thing is i didn't get response from server when i make request using POST method(i.e, it cant send data to server using this code)...
So i want to know how to make HttpRequest to server using POST method...Plz help me...