We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Manmeet Kaur R.
10 years agoNew member | Level 1
Using ETL tool's REST utility to download a folder with REST get URL
I wish to use the etl tool's REST utility to download a file from dropbox. I read in the developer docs that we can use this URL:
https://content.dropboxapi.com/1/files/auto/<path>
But how do we...
Greg-DB
Dropbox Community Moderator
10 years agoFor API v1, you can send these parameters as URL parameters, or form encoded in the body. For example, either of these are valid:
curl -X "POST" "https://api.dropboxapi.com/1/fileops/copy" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
--data "root=auto&from_path=/test.txt&to_path=/test_new.txt"
or
curl -X "POST" "https://api.dropboxapi.com/1/fileops/copy?root=auto&from_path=/test.txt&to_path=/test_new.txt" \
-H "Authorization: Bearer <ACCESS_TOKEN>"
(Perhaps you looked at some API v2 documentation at some point? API v2 does take JSON in the body. We generally would recommend using API v2 instead of API v1, if it has all of the functionality you need anyway.)
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!