I'm using Dropbox to back up files for my app. I want to enable users to share files that are stored on Dropbox. Currently the app gets a share link and reformats it in a way that when clicked, the app will open and then a post request will attempt to get the file from the share link. So far, instead of getting the file I get a web page.
From inside the app I'm using a post request with the share link followed by ?dl=1. Any advice? Is there a better way to do this? Like I said, it's not working.