Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
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 musing on the Monastery: (5)
As of 2014-09-20 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls