Linux – performing HTTP requests with cURL (using PROXY)


I have this proxy address:

How can I perform a HTTP request using cURL like curl, but specifying the proxy address of my network?

Best Solution

From man curl:

-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.