cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

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

Re: HTTP Dropbox download response

Greg-DB
Dropboxer
[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.

Re: HTTP Dropbox download response

lrjramkumar
Explorer | Level 3
In Postman also i was receiving the Same outpu

Re: HTTP Dropbox download response

Greg-DB
Dropboxer
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.
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    lrjramkumar Explorer | Level 3
What do Dropbox user levels mean?
Need more support?