2
从壳,我试图用为Fedora共享的REST API来使用curl二进制上传到特定位置指定:卷曲没有URL使用POST
curl: no URL specified!
从这里以下说明: https://wiki.duraspace.org/display/FEDORA471/RESTful+HTTP+API
从壳,我试图用为Fedora共享的REST API来使用curl二进制上传到特定位置指定:卷曲没有URL使用POST
curl: no URL specified!
从这里以下说明: https://wiki.duraspace.org/display/FEDORA471/RESTful+HTTP+API
-H
是额外的首部发送时请求包括HTTP到服务器,你不应该在url之前使用它。
您可能需要做curl -X PUT --upload-file image.jpg -H "Content-Type: image/jpeg" http://localhost:8080/rest/TestUpload/newexcel