473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HttpWebRequest.method = "GET"

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
Nov 16 '05 #1
2 6511
On Mon, 17 Jan 2005 15:41:17 -0500, "Tom S" <no*****@nowhere.com> wrote:
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


Nov 16 '05 #2
Thank you very much!!!
"_BNC" <_B**@nospam.com> wrote in message
news:mn********************************@4ax.com...
On Mon, 17 Jan 2005 15:41:17 -0500, "Tom S" <no*****@nowhere.com> wrote:
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

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Dave Opstad | last post by:
In this snippet: d = {'x': 1} value = d.get('x', bigscaryfunction()) the bigscaryfunction is always called, even though 'x' is a valid key. Is there a "short-circuit" version of get that...
1
by: Pete Mahoney | last post by:
Ok I use a textarea to store data input by the user, and then upon them clicking the submit button I store this data to a database. The problem is once the user inputs too much data (about 3...
12
by: Me | last post by:
Hi, I would like learn from people with experience in C++, which of the following styles of way to construct "get/set" member functions would be the best in terms of usability, speed, et cetera. ...
2
by: martyn_wynne | last post by:
Hi, I have found a odd one, my submit button is not submitting on a method="get" form after using any form of DataBind? Has anyone struck this problem before? here is snipits of the code as...
6
by: James MA | last post by:
I'm now writing a small program to communicate a web server to simulate a web client. I use te httpwebrequest to talk with the server, and it works find for "POST" method, however, when i test...
3
by: Scott McDermott | last post by:
I have an application that is making an HTTP request with HttpWebRequest.GetRequest. Unless I set 'httpWebRequest useUnsafeHeaderParsing="true"' in the web.config, I get a 'The server committed a...
2
by: ReGex | last post by:
I have been working on a little project in C# to log into a website (using code inspired/riipped from http://www.codeproject.com/cs/internet/bloglivejournal.asp) but when I request the response,...
1
by: Jim Carlock | last post by:
Let's not argue about semantics. Let's talk about semasiology. Do specifications exist for using mixed case, upper case, lower case for the contents of the method employed? My own preferences...
0
by: daryl | last post by:
<code> <body> <h1>Reverse String</h1><hr /> <?php $ReverseString = $_GET; if (!isset($_GET)) echo "<p>Enter the string you want to reverse.</p>"; else{ $ForwardString = $$_GET; ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.