Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 wandering the Monastery: (5)
As of 2021-09-24 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?