Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Setting Content-Type when POSTing with LWP

by Moonie (Friar)
on Aug 29, 2002 at 21:51 UTC ( [id://193929]=note: print w/replies, xml ) Need Help??


in reply to Setting Content-Type when POSTing with LWP

See lwpcookbook for reference. An example:
my $req = HTTP::Request->new(POST => 'http://www.perl.com/cgi-bin/Bug +Glimpse'); $req->content_type('application/x-www-form-urlencoded'); $req->content('match=www&errors=0');

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-09-10 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.