随笔分类 -  Curl

摘要:Ref http://www.ruanyifeng.com/blog/2019/09/curl-reference.html 本文介绍它的主要命令行参数,作为日常的参考,方便查阅。内容主要翻译自《curl cookbook》。为了节约篇幅,下面的例子不包括运行时的输出,初学者可以先看我以前写的《cu 阅读全文
posted @ 2020-10-10 10:39 fndefbwefsowpvqfx
摘要:基本流程 ①客户端的浏览器向服务器传送客户端 SSL 协议的版本号,加密算法的种类,产生的随机数, 以及其他服务器和客户端之间通讯所需要的各种信息。 ②服务器向客户端传送 SSL 协议的版本号,加密算法的种类,随机数以及其他相关信息, 同时服务器还将向客户端传送自己的证书。 ③客户利用服务器传过来的 阅读全文
posted @ 2020-10-10 10:21 fndefbwefsowpvqfx
摘要:下载 指定下载文件名,已存在同名文件被覆盖 curl -o filename.ext downloadlink 继续现有下载 curl -O -C downloadlink 检测下载文件是否存在,不下载 curl -I https://www.booleanworld.com/ 自动重定向 curl 阅读全文
posted @ 2020-09-23 13:11 fndefbwefsowpvqfx
摘要:curl -k https:/www.test.com -v –-key key.pem –-cacert ca.pem –-cert client.pem -k allows insecure connections,makes everything here insecure 阅读全文
posted @ 2020-09-22 13:25 fndefbwefsowpvqfx
摘要:curl --request POST --basic --user uername:pwd -H @header.json --data @body.json basic auth --basic 从文件中读取header, body curl --request POST --basic --u 阅读全文
posted @ 2020-09-22 11:37 fndefbwefsowpvqfx
摘要: 阅读全文
posted @ 2019-09-20 14:02 fndefbwefsowpvqfx