curl -XPOST 127.0.0.1:8700/api/v1/ceph/upload/file/test -F "file=@/Users/zhangsan/Downloads/54_1613703639418_timg.jpeg"
【注】 别忘了file后的@
符号,否则提示[Required MultipartFile parameter 'file' is not present
curl -XPOST 127.0.0.1:8700/api/v1/ceph/upload/file/test -F "file=@/Users/zhangsan/Downloads/54_1613703639418_timg.jpeg"
【注】 别忘了file后的@
符号,否则提示[Required MultipartFile parameter 'file' is not present
本文标题:linux curl系列之上传文件
本文链接:https://www.haomeiwen.com/subject/cdtpfltx.html
网友评论