Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.


Comment on Re: HTTP basic authentication in SOAP::Lite
Download Code
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: (15)
As of 2015-09-01 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (28 votes), past polls