cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: GET image file does not return binary

GET image file does not return binary

Joel S.29
New member | Level 1

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.

1 Reply 1

Greg-DB
Dropbox Staff

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?

Need more support?