Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (None)
    As of 2024-04-18 23:40 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found