Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Rest::Client unable to access the proxy but curl command able to access the proxy

by kschwab (Vicar)
on Feb 11, 2021 at 01:31 UTC ( #11128207=note: print w/replies, xml ) Need Help??


in reply to Rest::Client unable to access the proxy but curl command able to access the proxy

Is the endpoint you're trying to reach https perhaps? If so:

$client->getUseragent()->proxy(['http','https'], 'http://proxy.example.com:8888/');
  • Comment on Re: Rest::Client unable to access the proxy but curl command able to access the proxy
  • Download Code

Replies are listed 'Best First'.
Re^2: Rest::Client unable to access the proxy but curl command able to access the proxy
by chandantul (Scribe) on Feb 11, 2021 at 16:39 UTC

    This works after i made it https. Thanks s much

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2022-01-22 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (59 votes). Check out past polls.

    Notices?