Scripted HTML version of Foils prepared 5 July 97

Foil 74 HTTP - POST Request Example

From Overview of Basic Web and Internet Technologies Beijing Web Tutorial -- May 27-30 1997. by Geoffrey Fox *

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