Using curl send binary file

quick note

Using curl send binary file

https://ec.haxx.se/http/http-post

#POSTing binary
curl --data-binary @filename http://example.com/
yuyang@YYStation Downloads % curl -v -i  https://i-bp18d4yolzv6lk76d7zm.mycloud.com/78deaab2-0000-1111-2222-6b332213dfaf/sdk/v2/files/ra6dgixuzqzumfosggddvdssf/resumable/content \
-X PUT \
-H "authorization:Bearer XXX" \
--data-binary @balenaEtcher-1.5.78.dmg