Created
December 22, 2016 07:39
-
-
Save holyshared/64530f1cd2823445330b132903dcf4be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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