Learn how to make the most out of the Dropbox Community here 💙.
Forum Discussion
lrduques
7 years agoHelpful | Level 6
How do I get the content from shared HTML file?
Hi! I am working with shared links files on my Dropbox App in PHP and I need a hand. Currently, I send a request file to the API and get back a HTML file: array(1) {
[0]=>
array(10) {
[...
- 7 years ago
It looks like you're printing out the file metadata from an API call that returns information about the file. To get the file's actual content, you should instead use /2/files/download:
https://www.dropbox.com/developers/documentation/http/documentation#files-download
Greg-DB
Dropbox Staff
7 years agoIt looks like you're printing out the file metadata from an API call that returns information about the file. To get the file's actual content, you should instead use /2/files/download:
https://www.dropbox.com/developers/documentation/http/documentation#files-download
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,966 PostsLatest Activity: 2 days ago
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!