We Want to Hear From You! What Do You Want to See on the Community? Tell us 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.
3 Replies
- Greg-DB7 years ago
Dropbox Community Moderator
[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. - lrjramkumar7 years agoExplorer | Level 3In Postman also i was receiving the Same outpu
- Greg-DB7 years ago
Dropbox Community Moderator
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.6,036 PostsLatest Activity: 45 minutes ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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!