Skip to content

Instantly share code, notes, and snippets.

@podolskyi
Created March 28, 2016 08:01
Show Gist options
  • Save podolskyi/5b97fa2363d880497986 to your computer and use it in GitHub Desktop.
Save podolskyi/5b97fa2363d880497986 to your computer and use it in GitHub Desktop.
curl with proxy
# -x, --proxy <[protocol://][user:password@]proxyhost[:port]>
#
# Use the specified HTTP proxy.
# If the port number is not specified, it is assumed at port 1080.
curl -x http://proxy_server:proxy_port --proxy-user username:password -L http://url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment