我需要通过cURL从命令行发出一个POST请求。这个请求的数据位于一个文件中。我知道通过PUT可以用
--upload-file
选项来完成。
curl host:port/post-file -H "Content-Type: text/xml" --data "contents_of_file"
|
|
腹黑的机器猫 · border-radius - CSS: ...· 1 年前 · |
|
|
健壮的大象 · 带有pmta的SMTP中继office365 ...· 2 年前 · |
|
|
快乐的高山 · 【10X空间转录组Visium】(六)新版S ...· 2 年前 · |
|
|
气势凌人的眼镜 · JsonCpp解析和读写Json字符串 - ...· 2 年前 · |