How do I POST XML generated to a URL in C#
- by user2922687
Hi guys an new to C# and i need help, am trying to send XML generated to a URL, I keep getting error with HttpWebResponse. This is my code.
//POST to URL
var httpRequest = (HttpWebRequest)WebRequest.Create("http://xxx.xxx.xxx.xxx:8000");
httpRequest.Method = "POST";
httpRequest.ContentType = "text/xml;…