We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Bob A.3's avatar
Bob A.3
New member | Level 2
9 years ago

Saving URL to act as a URL Redirect?

I would like to be able to make a share link to a Dropbox file that itself contains a URL such that when the user executes the first link in their browser the end result is that the URL stored in the...
  • Richard P.'s avatar
    9 years ago

    Yes, just fire off a GET request (via ajax or fetch, or your favourite http lib) to the exact public url for the file.

    Ensure the file is structured as JSON, and you should be able to either directly read the response as JSON, or you may have to JSON.parse() it, and theres your data. 

    Then do your favourite JS redirect.

    The only issue is that the .html file which triggers all that cannot be stored on Dropbox as a public or shared link, it has to be stored elsewhere.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

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!