小编use*_*113的帖子

cURL POST --data-binary 使用来自 URL 的内容?

是否可以使用 URL 中的内容来执行 Curl -data-binary POST?

POST 文件中的内容:

curl -X POST -H "Content-Type: plain/text" --data-binary "@file.txt" http://somewhere.com

有没有 curl 命令可以做

curl -X POST -H "Content-Type: plain/text" --data-binary " http://somefile.com/file " " http://somewhere.com "

假设http://somefile.com/file是一个二进制文本文件

post curl

0
推荐指数
1
解决办法
2029
查看次数

标签 统计

curl ×1

post ×1