Answers for "Cannot send a content-body with this verb-type."

1

Cannot send a content-body with this verb-type.

WebRequest request = WebRequest.Create(get.AbsoluteUri + args);
request.Method = "GET";
using (WebResponse response = request.GetResponse())
{
    using (Stream stream = response.GetResponseStream())
    {
        XmlTextReader reader = new XmlTextReader(stream);
        ...
    }
}
Posted by: Guest on January-27-2022

Code answers related to "Cannot send a content-body with this verb-type."

Browse Popular Code Answers by Language