One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
lrjramkumar
7 years agoExplorer | Level 3
HTTP Dropbox download response
I am using HTTP Dropbox API for Uploading and Downloading the files,
I was created the C# API for the Dropbox file upload and download and Calling from AngularJS,
I was receiving the some sting value as Dropbox download response, String as mentioned below.
Guide me to convert this string as Actual file in AngularJS.
- Greg-DB
Dropbox Staff
[Cross-linking for reference: https://stackoverflow.com/questions/51821074/http-dropbox-download-api-response-angularjs ]
That value you get back is the file data itself. (E.g., in your StackOverflow post, you can see the "PDF" file header.)
Exactly what you do with that is up to you. I can only provide help with the Dropbox API itself, so I'm afraid I can't offer help with data handling in AngularJS.- lrjramkumarExplorer | Level 3In Postman also i was receiving the Same outpu
- Greg-DB
Dropbox Staff
That is the file data there as well, but likewise I can't provide support for Postman.
In JavaScript/AngularJS, you may want to refer to the documentation for interacting with files/data for providing a download. For instance, here's how one of our samples apps for JavaScript using the official Dropbox JavaScript SDK offers the file to the user for download:
https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html#L52
Or, for Postman, you may want to check for functionality for saving the response data as a file.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 28 minutes 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!