Skip to content

Commit e47092f

Browse files
committed
doc: update docs/curl.md
1 parent 8c47a90 commit e47092f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/curl.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,16 @@ Curl 是一种在服务器之间传输数据的工具,支持协议,包括 HT
6363
### 头信息 Headers
6464

6565
```bash
66-
-A <str> # --user-agent
66+
-A <str> # --user-agent
67+
-b name=val # --cookie
6768

68-
-b name=val # --cookie
69+
# 从 URL 的指定文件加载 cookie
70+
-b, --cookie FILE
71+
# 将 cookie 从 URL 保存到指定文件
72+
-c, --cookie-jar FILE
6973

7074
-b FILE # --cookie
71-
7275
-H "X-Foo: y" # --header
73-
7476
--compressed # 使用 deflate/gzip
7577
```
7678

0 commit comments

Comments
 (0)