We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Jarek T.1
11 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-DB11 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.
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!