doc: update docs/curl.md

This commit is contained in:
jaywcjlove 2023-08-16 21:36:53 +08:00
parent 8c47a905d4
commit e47092fec0

View File

@ -64,13 +64,15 @@ Curl 是一种在服务器之间传输数据的工具,支持协议,包括 HT
```bash ```bash
-A <str> # --user-agent -A <str> # --user-agent
-b name=val # --cookie -b name=val # --cookie
# 从 URL 的指定文件加载 cookie
-b, --cookie FILE
# 将 cookie 从 URL 保存到指定文件
-c, --cookie-jar FILE
-b FILE # --cookie -b FILE # --cookie
-H "X-Foo: y" # --header -H "X-Foo: y" # --header
--compressed # 使用 deflate/gzip --compressed # 使用 deflate/gzip
``` ```