Doctrin has asked for the wisdom of the Perl Monks concerning the following question:
It works; BUT, is there a way to provide GET params more, say, gently, like that, maybe:my $HttpReq = HTTP::Request->new( POST => "http://mysite.org/some/url/ +?with=params&some=else"); $HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
Thanks in advancemy $HttpReq = HTTP::Request->new( POST => "http://mysite.org/some/url" +, getparams => [with => 'params',some => 'else']); $HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing both GET and POST params to HTTP Request
by moritz (Cardinal) on Feb 23, 2013 at 12:19 UTC | |
by Doctrin (Beadle) on Feb 23, 2013 at 15:25 UTC |