I think this is the correct usage, but it's untried. Check out the man pages for HTTP::Request and HTTP::Headers for more detail.use HTTP::Headers; my $h = HTTP::Headers->new(); $h->header('Content-Length' => 61 ); $h->header('Content-Type' => 'application/x-www-form-urlencod ed'); my $request = HTTP::Request->new( 'POST', 'http://www.perl.org/survey. +cgi', $h ); my $response = $ua->request( $request ); ...
In reply to Re: Creating A Request
by FamousLongAgo
in thread Creating A Request
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |