I am using HttpWebRequest to do a POST and then regex the response for a certain part of the html code.
After I get the response how do I view the header information to see what was passed?
Using Fiddler I see the Response Header a few Set-Cookie values. Through code I want to be able to view these and also pass on to the next request.
Thanks.
After I get the response how do I view the header information to see what was passed?
VB.NET:
....
objResponse = objRequest.GetResponse()
srResponse = New StreamReader(objResponse.GetResponseStream(), Encoding.ASCII)
txtOutput.Text = srResponse.ReadToEnd
srResponse.Close()
....
Using Fiddler I see the Response Header a few Set-Cookie values. Through code I want to be able to view these and also pass on to the next request.
Thanks.