Open codal-mdesai opened 2 months ago
Thank you for pointing this one out - we have fixed it.
unfortunately I am still seeing this issue
It should be fine now: https://developer.box.com/reference/post-files-content/ - we were waiting for the build to finish :D
Description of the issue
Incorrect base url mapped for CURL example For Upload File and all upload endpoints where base url should be "https://upload.box.com" instead of "https://api.box.com"
Current content
curl -i -X POST "https://api.box.com/2.0/files/content" \ -H "authorization: Bearer" \
-H "content-type: multipart/form-data" \
-F attributes='{"name":"Contract.pdf", "parent":{"id":"11446498"}}' \
-F file=@
Expected content
curl -i -X POST "https://upload.box.com/api/2.0/files/content" \ -H "authorization: Bearer" \
-H "content-type: multipart/form-data" \
-F attributes='{"name":"Contract.pdf", "parent":{"id":"11446498"}}' \
-F file=@
Link to the documentation page
https://developer.box.com/reference/post-files-content/