I have the following code in my asp.net mvc app -
string URI = "http://send.url.com/smsapi/sender.php";
string queryParameters= "a long query string";
string xmlResult = "";
using (WebClient wc = new WebClient())
{
wc.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
xmlResult = wc.UploadString(URI, queryParameters);
}
My question is how long queryParameters
can be for WebClient.UploadString
method?