- From: Fred Bohle <Fred.Bohle@neonsys.com>
- Date: Thu, 5 Sep 2002 08:02:57 -0500
- To: "Naresh Agarwal" <nagarwal@in.firstrain.com>, <ietf-http-wg@w3.org>
If the body of the POST request is the result of filling out a form, then the contents are name,value pairs as you expect. They will be url-encoded just like the GET request would be, but the name,value pairs are in the body, not the end of the url. Most CGI programs I have seen parse EITHER the end of the URL (query variables) for the GET method, OR they parse the body text for the POST method. BUT NOT BOTH. It is possible to send such a request, but I don't know how to get a standard browser to do it. If you are writing your own sender, you could build such a request, but most CGI programs will ignore the url query variables. Fred -----Original Message----- From: Naresh Agarwal [mailto:nagarwal@in.firstrain.com] Sent: Thursday, September 05, 2002 1:02 AM To: ietf-http-wg@w3.org Subject: POST request! Hi How the POST request is sent internally? Is the body of POST request is sent as (name, value) pair? Also can i send a POST request along with some parameters, some thing like below? ---------- POST /servername/some_virtual_directory/somefile.asp?id=x&name=y Some headers... and then body.. ------------- thanks, regards, Naresh Agarwal
Received on Thursday, 5 September 2002 09:04:44 UTC