I want to upload an XLS file through the
/storage/file API. My call appears to work in that I get a HTTP 200 back and the file appears in my storage area. However when I download the file to check, it looks like the raw multi-part content from the PUT request.
PUT https://api.aspose.cloud/v1.1/storage/file?path=%2Fsimple-template.xls&appSID=xxxx&signature=xxxx Accept: application/json Authorization: Bearer xxxx Content-Type: multipart/form-data; boundary="e721db7d-2f00-444c-a87b-9407ce9c4143" --e721db7d-2f00-444c-a87b-9407ce9c4143 Content-Disposition: form-data; name=File; filename="/simple-template.xls"; filename*=utf-8''%2Fsimple-template.xls Content-Type: application/vnd.ms-excel (file content follows)
The URL is the same as the ‘try it’ example here: https://apireference.aspose.cloud/platform/#!/File/PutCreate
Uploading a file directly into ‘My Storage’ works fine.