string strUrl = "http://api.mVaayoo.com/mvaayooapi/MessageCompose?user=username&senderID=yourid&receipientno=mobilno&msgtxt=This is a test API&state=4"; WebRequest request = HttpWebRequest.Create(strUrl); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); Stream s = (Stream)response.GetResponseStream(); StreamReader readStream = new StreamReader( s ); string dataString = readStream.ReadToEnd(); response.Close(); s.Close(); readStream.Close();
strUrl
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)