Performing HTTP requests with cURL using PROXY

First of all lets check curl manual.

Lets execute man curl:

-x, --proxy <[protocol://][user:[email protected]]proxyhost[:port]>
Use the specified HTTP proxy.
If the port number is not specified, it is assumed at port 1080.

It says that if you wanted to use -x or --proxy flag with proxy settings definition

Now we are able to check proxy through curl command with this command:

curl -L '' -x 'service_123:[email protected]:3129'

That's all - you have executed curl request through proxy

complete at 0.0009 s; cached: 1; cache enable: truek3cf0183aedd69e247c23f224e7b14c241824ba12.html