HttpWebRequest.method = "GET"

  • Thread starter Thread starter Tom S
  • Start date Start date
T

Tom S

I'm using ASP.NET with C# as my code behind and I figure out how to get the
above process to work. I've found many examples online for using the
'method' member to "POST", but none for setting it to and using "GET". Any
help would be greatly appreciated. Thanks!

Tom S
 
I'm using ASP.NET with C# as my code behind and I figure out how to get the
above process to work. I've found many examples online for using the
'method' member to "POST", but none for setting it to and using "GET". Any
help would be greatly appreciated. Thanks!

Tom S

Not sure if I'm understanding the question, but here goes: The GET
request is simpler than POST in that all info is sent as part of the URL.
A quick look at a couple IE browser address windows will show the
difference. AFAIK, you should be able to simply send the entire URL as
you see it in the browser address bar, whereas POST requires some digging
into internals and separate packaging of args to be sent to the site.

There's a program called Fiddler that I've found helpful. A google search
of this group should turn up the URL.

_B
 
Thank you very much!!!


_BNC said:
Not sure if I'm understanding the question, but here goes: The GET
request is simpler than POST in that all info is sent as part of the URL.
A quick look at a couple IE browser address windows will show the
difference. AFAIK, you should be able to simply send the entire URL as
you see it in the browser address bar, whereas POST requires some digging
into internals and separate packaging of args to be sent to the site.

There's a program called Fiddler that I've found helpful. A google search
of this group should turn up the URL.

_B
 
Back
Top