http://qs321.pair.com?node_id=11128207


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