mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-22 11:12:20 +00:00
7 lines
317 B
PHP
7 lines
317 B
PHP
curl -sb --location --request POST 'https://content.dropboxapi.com/2/files/upload' \
|
|
--header 'Accept: application/json' \
|
|
--header 'Dropbox-API-Arg: {"path":"{{ $dest }}"}' \
|
|
--header 'Content-Type: text/plain; charset=dropbox-cors-hack' \
|
|
--header 'Authorization: Bearer {{ $token }}' \
|
|
--data-binary '@{{ $src }}'
|