Hi,
when trying to use get_thumbnail API using GET, we always seem to get 400 back. When using the POST and adding Authorization/Dropbox-API-Arg headers, it seems to work.
What could be the cause of that? Here is what our final request url looks like:
https://content.dropboxapi.com/2/files/get_thumbnail?Authorization=Bearer%20rrQhsXpulaAAAAAAAAABHrdXCoe1OxElfB7130c8BpDKngu0Zzuc3lqaewX1anTT&Dropbox-API-Arg=%7B%22path%22%3A%22id%3Agm9fj78Rf3AAAAAAAAAADg%22%2C%22size%22%3A%22w128h128%22%2C%22format%22%3A%22jpeg%22%7D
Could we get more info on how this should work, everything in the documentation is focused on POST method.
[Cross-linking for reference: https://stackoverflow.com/questions/33896666/unable-to-load-image-thumbnail-using-dropbox-v2-api-and-http-get ]
It looks like you already sorted this out on your StackOverflow question, but this is currently documented incorrectly. We'll get that fixed up.
By the way, for the sake of security, you should disable that access token. You can do so by revoking access to the app entirely, if the access token is for your account, here:
https://www.dropbox.com/account/security
Or, you can disable just this access token using the /disable_access_token endpoint:
https://www.dropbox.com/developers/core/docs#disable-token