treasurehuntbob has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use LWP::UserAgent; use HTTP::Request; use HTTP::Headers; use CGI; $h = new HTTP::Headers Referer => 'http://bob.com/fun.htm'; $ua = LWP::UserAgent->new; $request = HTTP::Request->new(POST => "http://tom.com",$h); $response = $ua->request($request); print "Content-type: text/html\n\n"; print $response->content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: http headers; http request; cgi; get; post HELP HELP
by merlyn (Sage) on Mar 05, 2001 at 19:41 UTC | |
|
Re: http headers; http request; cgi; get; post HELP HELP
by treasurehuntbob (Initiate) on Mar 06, 2001 at 03:50 UTC |