curl --upload-file
和 curl --form file=@/path/file
有什么区别?HTTP请求如何不同?
- 上传文件
(使用HTTP或HTTPS URL)使卷发发送HTTP PUT请求。
- form
使卷曲发送带有多个FormPost主体的HTTP POST请求。