
Haunter
Novice
Jun 3, 2003, 6:15 PM
Post #3 of 3
(587 views)
|
|
Re: [mumairabbasi] http form submit from command line
[In reply to]
|
Can't Post
|
|
use LWP::UserAgent; $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(POST => 'http://www.perlguru.com/cgi-bin/processor.cgi'); $req->content_type('application/x-www-form-urlencoded'); $req->content('match=www&errors=0'); my $res = $ua->request($req); print $res->as_string;
(This post was edited by davorg on Jun 5, 2003, 2:28 AM)
|