I just started learning about HttpWebRequest and HttpWebResponse so please go easy on me.
My issue is that when I try to do a HttpWebRequest POST method to run a search on a work website. The HttpWebResponse I get back is placed in a Richtextbox and look similar to this.
1|#||4|77|pageRedirect||%2findex.aspx%3fReturnUrl%3d%252fPro%252fRep%252fQue.aspx|
' I can not show the actually code since it is work related information.
I am not sure what this is exactly, but I am think the part the says "pageRedirect" is a good indication.
I have tried HttpWebRequest.AllowAutoRedirect = True but that does not work.
If someone could explain what the string above is I will try to take it from there.
**And I do not know if it might be the problem but this is the second POST Method I am using in the code. I did not find anything that said I could not use two or more POST methods.
**I have been using Live HTTP Header tool to capture the information.
Aucun commentaire:
Enregistrer un commentaire