Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
How do I get image file contents to download as binary? I wrote a simple wrapper around the Dropbox API endpoints in NodeJS and cannot figure out how to do this. File type is always json and thus the contents of the image file are garbage.
I'm not sure I understand the issue you're seeing. The /files (GET) endpoint just returns the raw data for the requested file in the body of the response. Can you share your code, along with a sample request and response?
Hi there!
If you need more help you can view your support options (expected response time for a 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!