I need to \"Post\" some data to an external website using HttpWebRequest object from my application(desktop) and get a response back into my application through
HttpWebRequest
var request = WebRequest.Create("http://foo"); request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; using (var writer = new StreamWriter(request.GetRequestStream())) { writer.Write("field=value"); }