X-rus/xNet

sending xml

mhayrullaev opened this issue · 1 comments

Hello! How can i send XML and get response

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();
}