Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: HTTP basic authentication in SOAP::Lite

by rahed (Scribe)
on Apr 17, 2009 at 13:41 UTC ( #758224=note: print w/ replies, xml ) Need Help??


in reply to HTTP basic authentication in SOAP::Lite

You can also try basic authorization this way:
$authoriz = 'Basic '.encode_base64('passwd'); $webService->transport->http_request->headers->push_header('Authorizat +ion' => $authoriz);
I had to encode into base64 to use this with some server.

Replies are listed 'Best First'.
Re^2: HTTP basic authentication in SOAP::Lite
by rahed (Scribe) on Apr 17, 2009 at 13:48 UTC
    Parameter to encode_base64 should actually read 'user:passwd'.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2016-06-30 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.