Skip to content

Instantly share code, notes, and snippets.

@holyshared
Created December 22, 2016 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save holyshared/64530f1cd2823445330b132903dcf4be to your computer and use it in GitHub Desktop.
Save holyshared/64530f1cd2823445330b132903dcf4be to your computer and use it in GitHub Desktop.
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header 'Authorization: Bearer [ACCESS_TOKEN] \
--header 'Content-Type: application/octet-stream' \
--header 'Dropbox-API-Arg: {"path":"/[FILE_NAME]","mode":{".tag":"add"},"autorename":false,"mute":false}' \
--data-binary @'[LOCAL_FILE_NAME]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment