curl 用法

je_ck / 2024-10-29 / 原文

1、参数写在前面

2、路径用''括起来。

3、注意shell脚本中的特殊字符。

例如:

curl -o image.jpg 'http://q1.qlogo.cn/g?b=tt&nk=123&s=100'