This commit is contained in:
nick
2018-05-14 15:03:00 +08:00
parent cea09da3bb
commit d3174319fd
3 changed files with 13 additions and 2 deletions

View File

@ -24,6 +24,8 @@ curl -v www.baidu.com #显示请求的过程信息
curl -X GET www.baidu.com #指定请求方法,请求方法必须大写
curl -C url #断点续传,适用网络不顺畅时下载大文件,无须重新下载
curl --connect-timeout 20 https://wp.hellocode.name/?p=701 #指定 url 并限制连接时间
```
补充:`curl` 命令适用于上传与请求。