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 *

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

in Table To:


© 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