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?