sending xml
mhayrullaev opened this issue · 1 comments
mhayrullaev commented
Hello! How can i send XML and get response
X-rus commented
Hello!
string xmlData = "...";
string response = string.Empty;
using (var request = new HttpRequest())
{
request.UserAgent = HttpHelper.ChromeUserAgent();
response = request.Post("site.com", xmlData, "text/xml").ToString();
}