Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
Jarek T.1
10 years agoNew member | Level 1
API v2 - /files/download, <video>, https and CORS
Hi,
In our app we need direct links with access-control-allow-origin: * header applied.
How we can do that in V2 of the api?
So far we used 4h-expiring direct links and that was cumbersome due to the expiration, so we hope to get a nicer way with version 2, however seeing /files/download is being handled only via POST or GET with customized headers, it seems impossible.
Thanks in advance, jarek
1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
There isn't a good way to do this in API v2 yet, but I believe we do have some potential solutions planned for this. I'll be sure to pass this along as a feature request though.
As a workaround, I would recommend continuing to use v1 /media as like you have been.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,039 PostsLatest Activity: 5 minutes ago
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 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!