Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: post data to a remote cgi script with a perl script?

by meetraz (Hermit)
on Jun 02, 2004 at 00:58 UTC ( [id://358929]=note: print w/replies, xml ) Need Help??


in reply to post data to a remote cgi script with a perl script?

Here you go:

use strict; use HTTP::Request::Common; use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->request(POST 'http://somewhere/foo.cgi', [foo => "bar", bar => "foo"]);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://358929]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found