我想通过代理进行卷曲.根据下面的帮助文件,我猜这行应该是:
curl -x [whatever-my-protocol-is://] my-host-which-kNow-kNow [:my-port-which-i-kNow] -U my-username-which-kNow-kNow [:my -pass-that-i-kNow] http://www.google.com
这是正确的吗?我如何找出协议?
男人的相关信息:
-x,--proxy [PROTOCol://]HOST[:PORT] Use proxy on given port --proxy-anyauth Pick "any" proxy authentication method (H) --proxy-basic Use Basic authentication on the proxy (H) --proxy-digest Use Digest authentication on the proxy (H) --proxy-negotiate Use Negotiate authentication on the proxy (H) --proxy-ntlm Use NTLM authentication on the proxy (H) -U,--proxy-user USER[:PASSWORD] Proxy user and password --proxy1.0 HOST[:PORT] Use http/1.0 proxy on given port
求助:在阅读一般语法时忽略“[”.此外,windows喜欢双引号和单引号.所以命令是:
curl -x my-host-which-kNow-kNow:my-port-which-kNow-kNow -U my-username-which-kNow-kNow:my-pass-which-kNow-kNow http://www.google.com
所以命令是:
curl -x my-host-which-kNow-kNow:my-port-which-kNow-kNow -U my-username-which-kNow-kNow:my-pass-which-kNow-kNow http://www.Google .COM
总结以上是内存溢出为你收集整理的通过代理语法卷曲全部内容,希望文章能够帮你解决通过代理语法卷曲所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)