This downloads a file from the Dropbox API at the remote path /Homework/math/Prime_Numbers.txt
to the local path Prime_Numbers.txt
in the current folder:
curl -X POST https://content.dropboxapi.com/2/files/download \
--header "Authorization: Bearer <ACCESS_TOKEN>" \
--header "Dropbox-API-Arg: {\"path\": \"/Homework/math/Prime_Numbers.txt\"}" \
-o "./Prime_Numbers.txt"
<ACCESS_TOKEN>
should be replaced with your access token.