Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to pass credentials through REST::Client

by Anonymous Monk
on Apr 06, 2018 at 10:06 UTC ( #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
Node Status?
node history
Node Type: note [id://1212415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2020-11-30 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?