Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to pass credentials through REST::Client

by Anonymous Monk
on Apr 06, 2018 at 10:06 UTC ( [id://1212415]=note: print w/replies, xml ) Need Help??


in reply to How to pass credentials through REST::Client

See https://metacpan.org/pod/LWP::UserAgent#get_basic_credentials, https://metacpan.org/pod/LWP::UserAgent#credentials

$client->getUseragent()->credentials("www.example.com:80", "Some Realm +", "foo", "secret");

Also http://search.cpan.org/perldoc/REST::Client#pkcs12

Replies are listed 'Best First'.
Re^2: How to pass credentials through REST::Client
by thanos1983 (Parson) on Apr 06, 2018 at 10:10 UTC

    Hello Anonymous Monk,

    Thanks a lot that is exactly what I was looking for.

    BR / Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found