Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Giorgio C.3
10 years agoNew member | Level 1
Writing a file via API and make it always accessible publicly (like the old Public folder)
Hi,
This is my scenario: I need to write a file in users' Dropbox using the Core API and make it accessible (sharable) publicly and for a longer period (than 4 hours). I need somehow a similar beh...
Greg-DB
Dropbox Community Moderator
10 years agoThat's correct, CORS isn't enabled on www.dropbox.com. The parameters ( dl or raw ) are preferred, but if they don't suit your use case, one alternative is to change host from www.dropbox.com to dl.dropboxusercontent.com, that is:
to:
dl.dropboxusercontent.com/s/...
CORS does work on the latter host. That's not documented though, so I can't say it's officially supported.
And thanks for the feedback. I'll pass this along as a request to put the raw option directly into the /shares endpoint.
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!