Obviously I'm missing something.
I have an account, and created an App. I also created an OAUTH Token. I then found this curl script, and want to uplaod a file:
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header "Authorization: Bearer <token>" \
--header "Dropbox-API-Arg: {\"path\": \"/1.jpg\"}" \
--header "Content-Type: application/octet-stream" \
--data-binary @./Cushion.jpg
I get this return:
Error in call to API function "files/upload": Your app is not authorized to use this endpoint.
So how to I get it authorized?