I'm a total green hand, when I read the API guide, it seems that the api /files(GET) is based on Oauth2? So how can I download a file with http request base on Oauth1? What should I set for header "Authorization"? Can anybody help me? Thx a lot ~
The /files (GET) endpoint is part of the Core API, a.k.a. API v1. API v1 supports both OAuth 1 and OAuth 2, so you can use either. (OAuth 2 is preferred though.)
If you do want to use OAuth 1 though, the information in this blog post should be helpful: (i.e., look at step 4 for an example of signing a call using OAuth 1)
https://blogs.dropbox.com/developers/2012/07/using-oauth-1-0-with-the-plaintext-signature-method/
It’s highly appreciated that you wrote back immediately with detailed explanations,I had solved the problem though your help, thx a lot ~