Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Passing both GET and POST params to HTTP Request

by Doctrin (Beadle)
on Feb 23, 2013 at 11:27 UTC ( #1020296=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $HttpReq = HTTP::Request->new( POST => "http://mysite.org/some/url/
    +?with=params&some=else");
    $HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
    
  2. or download this
    my $HttpReq = HTTP::Request->new( POST => "http://mysite.org/some/url"
    +, getparams => [with => 'params',some => 'else']);
    $HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1020296]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2015-05-25 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (491 votes), past polls