Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi, I'm trying to make a call to API V2 via the browser. Here in the spec you wrote
> - Set the Content-Type
to "text/plain; charset=dropbox-cors-hack" instead of "application/json" or "application/octet-stream".
I tried doing this. It works on Chrome, but it somehow does not work on safari and Firefox.
In both firefox and safari, the browser seems to overwrite the supplied charset, and uses `UTF-8` for the XHR instead.
This truly made me sad T_T. Are you guys familiar with this situation?
Thanks!
Hi Ge - thanks for reporting. I think this is a bug in Firefox. See this StackOverflow post: https://stackoverflow.com/questions/33902289/using-dropbox-v2-api-from-browser . We haven't had reports about this happening in Safari yet. Is it the exact same error? If not, can you share the code and output, so I can try to reproduce on my side?
Hey Alex,
I think it is exactly the same error in safari. Aka the charset gets re-written by the browser.
Ge
Thanks for the report. I'll look into it.
I'm not seeing this in Safari. Can you share some code to reproduce the issue? Also, please let us know what version of Safari you're using.
Also, if you are seeing it in Safari, doe the answer at http://stackoverflow.com/a/34168434/1305693 help?
Thanks in advance!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!