just use the --x
or --proxy
option followed by the proxy server URL:
CURL -x http://proxy-url.com:8080 https://target-url.com
or
CURL --proxy http://proxy-url.com:8080 https://target-url.com
just use the --x
or --proxy
option followed by the proxy server URL:
CURL -x http://proxy-url.com:8080 https://target-url.com
or
CURL --proxy http://proxy-url.com:8080 https://target-url.com