使用 curl 的 -x 来指定代理。命令如下:
curl -v -x 代理IP:代理端口 "目标网址"
如果需要认证,可以加上用户名和密码:
curl -v -x 代理IP:代理端口 -U "用户名:密码" "目标网址"