Curl requests to an internal website Curl requests to an internal website curl curl

Curl requests to an internal website


curl finds an environment variable that tells it to use a proxy so it connects to that and issues a CONNECT there, which then gets 502 back...

If you want to disable the proxy for this command line do one of these:

  • use -x ""
  • use --noproxy to specify the domain(s) the proxy should not be used for
  • remove the environment variable (*_proxy something)
  • add this domain to the NO_PROXY environment variable