I have a problem getting and requesting XML data from http request
1 answer
My guess regarding your first question: your "401 Forbidden" is actually "401 Unauthorized" ("Forbidden" will be fatal and has a 403 code). This 401 response is a normal part of the NTLM challenge / response authentication mechanism (Windows). Your request must have the correct credentials set in order for it to authorize and then this error goes away.
As for your second question - It depends. What kind of XML will you return? Will the raw XML string be displayed?
0
a source to share