I am trying to find a module in perl poe which can do user authentication while making a HTTP request.
HTTP request should be non-blocking
or
How should I use poe::component::client:http to do user authentication by providing username , password details?
You can pass a HTTP::Request object to POE::Component::Client::HTTP. Basic Auth is solved with a header, and can be sent as a header:
And then just pass the
$requestto$poe_kernel->postas in the documentation.