cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: HTTP Dropbox download response

HTTP Dropbox download response

lrjramkumar
Explorer | Level 3

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 3

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.

lrjramkumar
Explorer | Level 3
In 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.
Need more support?