-x
or --proxy
is an HTTP proxy, and unless you also specify a port number it will default to port 1080 (and the reason for that particular port number is purely historical).-v
when talking to a proxy, you will see that curl connects to the proxy instead of the remote server, and you will see that it uses a slightly different request line.CONNECT
.-p
or --proxytunnel
.--proxy1.0 [proxy]
instead of -x
.