Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Setting Content-Type when POSTing with LWP

by Moonie (Friar)
on Aug 29, 2002 at 21:51 UTC ( #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? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2022-05-22 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?