Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Mark L.45
1 year agoCollaborator | Level 9
Getting a list of files using HTTP API in shell with Curl
I run this and get empty response, despite having created a /Homework/math curl -X POST https://api.dropboxapi.com/2/files/list_folder \
--header "Authorization: Basic <token>" \
--header ...
Mark L.45
1 year agoCollaborator | Level 9
I just replied, but ... so I will again...your right you need Bearer Authentication, not Basic Authentication for this to work.
Greg-DB
Dropbox Community Moderator
1 year ago[Cross-linking for reference: https://stackoverflow.com/questions/79014393/list-dropbox-files-through-their-api-using-curl ]
That's correct, you'll need Bearer auth for this. I'll ask the team to fix this up in the documentation. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!