[ic] Reading the HTTP body from a post?

James Guillot interchange-users@icdevgroup.org
Fri Sep 20 13:09:00 2002


Hi All,
	What is the best way to read the body of an HTTP POST into an 
interchange script?  (I tried [CGI...] but it only seems to work if the body of the 
message is something like foo=<?xml....).  Here is an example of the message I'm 
sending to Apache/Interchange:

POST /cgi-bin/risonline/punchout/setup.html HTTP/1.1
Host: www.rustonind.com
Connection: Keep-Alive
From: jwguillot@huntforpro.com
User-Agent: putty/0.52
Content-Type: application/x-www-form-urlencoded
Content-Length: 1281

<?xml version="1.0"?><!DOCTYPE cXML SYSTEM "cXML.dtd"><cXML 
version="1.0" payloadID="2002-04-03T16:10:15-08:00" 
timestamp="2002-04-03T16:10:15-08:00">
<Header>.......

Thanks!


James W. Guillot
IS Manager
Hunt Forest Products, Inc.
jwguillot@huntforpro.com