in reply to Yet another POST question
Update: correctly should be incorrectly doh!
Try this:
... use LWP::UserAgent; #use Commom module for convienence use HTTP::Request::Common my $ua = LWP::UserAgent->new(); $content<<EOC; <xml> <name>mitd</name> </xml> EOC $ua->request( POST, 'http://somewhere.com/somexml.cgi', [XML=>$content]);
At receiving end something like this:
my $xmaldoc = $q->param('XML');
xmldoc now contains your .. well .. xml document.
mitd-Made in the Dark
'My favourite colour appears to be grey.'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Yet another POST question
by toadi (Chaplain) on Jul 20, 2001 at 11:56 UTC |