Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How to pass credentials through REST::Clientby jimpudar (Pilgrim) |
on Apr 07, 2018 at 03:57 UTC ( [id://1212476]=note: print w/replies, xml ) | Need Help?? |
Hi Thanos, I know your question was already answered, but I thought I would suggest you take a look at https://metacpan.org/pod/Mojo::UserAgent. The entire Mojolicious project is excellent and worth taking a look. It's very easy to create REST services with Mojolicious, but the UserAgent is also fantastic and a pleasure to work with. For example, here are a couple of requests with different auth types. These examples are from the page I linked.
Best, Jim
In Section
Seekers of Perl Wisdom
|
|