cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

API v2 - /files/download, <video>, https and CORS

New member | Level 1
New member | Level 1

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 1
Highlighted

Re: API v2 - /files/download, <video>, https and CORS

Dropboxer
Dropboxer

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.

 

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?