http://www.perlmonks.org?node_id=1020299


in reply to Passing both GET and POST params to HTTP Request

What you call "GET params" are just URL params. HTTP::Request doesn't have a special syntax for constructing an URL from path and parameter, that's not its job.

But for example URI has a method query_form that can help you in constructing the URL.

In general, HTTP::Request is pretty low level. If you want convenience, you might want to use a a more high-level abstraction (like LWP::UserAgent or Mojo::UserAgent or so).

Replies are listed 'Best First'.
Re^2: Passing both GET and POST params to HTTP Request
by Doctrin (Beadle) on Feb 23, 2013 at 15:25 UTC
    Thanks! URI would do the trick, I think :)