I am trying to use HTTPWebRequest to make a server side HTTP request to get response XML from a vendor. The vendor expects a bunch of querystring parameters, some of which have special characters in their values.
For some reason HTTPWebRequest automatically unescapes these values in the querystring of the URL and messes up the end result. I then tried to use the System.URI.URI object and used the dontEscape=true constructor. But then later realized that this constructor has become obsolete since .NET 2.0.
Does anyone have any solution for this? Is there an alternative to calling HTTPWebRequest to make a server side HTTP GET request?
Thanks in advance.