bear0053 has asked for the wisdom of the Perl Monks concerning the following question:
my $xml = "<test>post did it go threw</test>"; my $SendObject = Win32::OLE->new('microsoft.XMLhttp'); $SendObject->open("POST", "http://www.xys.com/cgi-bin/post_test.cgi", +"false"); $SendObject->setRequestHeader("Content-type", "text/xml"); $SendObject->send($xml); my $response = $SendObject->responseText; print "<br><br>POST RESPONSE: $response";
it doesn't like how i am trying to access STDIN The error i get is: CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process.if($ENV{'REQUEST_METHOD'} eq 'POST'){ my $val = <STDIN>; print $val; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cgi and stdin
by bear0053 (Hermit) on Oct 24, 2003 at 17:43 UTC | |
by iburrell (Chaplain) on Oct 24, 2003 at 21:20 UTC | |
by mcogan1966 (Monk) on Oct 24, 2003 at 18:02 UTC | |
by tilly (Archbishop) on Oct 25, 2003 at 05:59 UTC | |
|
Re: cgi and stdin
by hardburn (Abbot) on Oct 24, 2003 at 17:23 UTC | |
by bear0053 (Hermit) on Oct 24, 2003 at 17:30 UTC |