Boa tarde, senhores !!
Eis o exemplo:
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header "Authorization: Bearer " \
--header "Dropbox-API-Arg: {\"path\": \"/Homework/math/Matrices.txt\",\"mode\": \"add\",\"autorename\": true,\"mute\": false,\"strict_conflict\": false}" \
--header "Content-Type: application/octet-stream" \
--data-binary @boleto.pdf
Como faço para transformar o arquivo "boleto.pdf" no mesmo padrão --data-binary ?
Grato,
Tales Souza