Basic HTML version of Foils prepared 11 May 1997

Foil 18 HTTP - POST Request Example

From Setting the Stage for CGI Programming: HTTP, URL, CGI, MIME, HTTPD and many other acronyms ECS400 Senior Undergraduate Course -- Spring Semester 1997. by Nancy J. McCracken *

POST /cgi-bin/post-query HTTP/1.0
Accept: www/source
Accept: text/html
Accept: video/mpeg
Accept: image/x-rgb
Accept: application/postscript
User-Agent: Lynx/2.2 libwww/2.14
From: grobe@unanaix.cc.ukans.edu
Content-type: application/x-www-form-urlencoded
Content-length: 150
  • --blank-line-separating-header-and-body---
org=Academic%20Computing%20Services
&users=10000
&browser=lynx
&contact=Michael%20Grobe%20grobe@kuhbuh.cc.ukans.edu
Both header and body present in POST requests - the body is typically used to pass a form contents to the server.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Aug 21 1997