We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
iambvttercvp
9 years agoExplorer | Level 3
Dropbox v2 API Content-Type header
For confirmation: Is it allowed to use Content-Type header other than "application/octet-stream" and "text/plain; charset=dropbox-cors-hack" when uploading file using Dropbox v2 API (https://cont...
iambvttercvp
9 years agoExplorer | Level 3
Does Dropbox v2 have any specification regarding this?
Greg-DB
Dropbox Community Moderator
9 years agoWhat information exactly are you looking for? You can find the documentation for the HTTP interface here:
https://www.dropbox.com/developers/documentation/http/documentation
The specification for the API can be found here:
https://github.com/dropbox/dropbox-api-spec
https://www.dropbox.com/developers/documentation/http/documentation
The specification for the API can be found here:
https://github.com/dropbox/dropbox-api-spec
- iambvttercvp9 years agoExplorer | Level 3
Specification regarding the Content-Type value for uploading files using Dropbox v2 API.
That only these Content-Type values can be used.
"application/octet-stream", "text/plain; charset=dropbox-cors-hack"
- Greg-DB9 years ago
Dropbox Community Moderator
I don't believe that's called out specifically in the documentation, but that information from the error message is correct. (It's also shown in the curl examples.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!