Question Display http request

KAMPATEL1973

Member
Joined
Oct 7, 2015
Messages
11
Programming Experience
Beginner
Hi All,

I have some code as follows that sends a http Get request and retrieves the information using the MSXML2.ServerXML2HTTP object..

VB.NET:
                    uri = Class_uri & queryparam
                    http.Open("GET", uri, False)
                    http.setRequestHeader("remote_user", Class_remote_user)
                    http.Send()
                    response = http.responseText
The response can easily be displayed as it comes back as text and can be displayed. Any ideas how I can display the actual information that is sent in the http.Send()?

I want to be able to see the information sent.

Thanks
 
Use a web debugger tool like Fiddler.

I also recommend you use .Net tools for the request, like WebClient class or HttpWebRequest class, or HttpClient class from .Net 4.5.
 
Back
Top