Hello,
I am using Dropbox as a halfway point to upload files to a third party service. They don't provide upload capability via their API, rather I need to provide a publicly accessible URL with my request and their systems will retrieve that file. So dropbox works.
If my dropbox URL is of the format https://dl.dropbox.com/file.ext all is well. Their system retrieves the file and is able to process the type correctly on their side.
Unfortunately, if I provide https://www.dropbox.com/file.ext?dl=1 the file is imported, but their system chokes on the type, which I apparently cannot modify afterwards.
so the trick here is that I want to retrieve the link to DB in the dl.dropbox.com/file.ext format.
At the moment, I am calling create_shared_link_with_settings and then following up with list_shared_links (to avoid the error if the link already exists, bad code, I know. I'll eventually fix it).
But the shared link is www.dropbox.com/file.ext, not dl.dropbox.com/file.ext
So I am modifying the link in code. I do not like this. I know that dl will probably not go away... but...
So is there any way to request the dl.dropbox.com link directly?