我有这个代理地址:125.119.175.48:8909
如何使用像 curl http://www.example.com
这样的 cURL 来执行 HTTP 请求,但要指定我的网络的代理地址?
最佳答案
来自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.
https://stackoverflow.com/questions/9445489/