Hi, I'm trying to use dropbox API for uploads images, actually I have the Base64 encoded string of image file and I wanna use the API for upload. I try this but it doesn't work.
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header "Authorization: Bearer <TOKEN>" \
--header "Dropbox-API-Arg: {\"path\": \"/test/img.jpg\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" \
--header "Content-Type: application/octet-stream" \
--data-binary "<Base64 Encoded Image Here>"
I wanna know if I can upload images encoded in Base64.
Thanks.