Closed AaronNGray closed 3 months ago
curl --request POST --url https://hastebin.com/documents -H "Content-Type: application/zip" --header "Authorization: Bearer 9ca0fb871ca8575c3a1f01dd5b26ffee7fd9b37ff7902028ad788197de8a889f3cd4c2ae80601da279e8309b471a8d42aa5d0b1f8e74bba0e2de3d3fdd67c8af" --data-binary @../schema.zip
{"key":"irafetaxuz"}
curl --request GET --url https://hastebin.com/raw/irafetaxuz -H "accept: application/zip" --header "Authorization: Bearer 9ca0fb871ca8575c3a1f01dd5b26ffee7fd9b37ff7902028ad788197de8a889f3cd4c2ae80601da279e8309b471a8d42aa5d0b1f8e74bba0e2de3d3fdd67c8af" -o test.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 51494 100 51494 0 0 65236 0 --:--:-- --:--:-- --:--:-- 65182
you may want to use a different pastebin
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Lol
Following https://www.toptal.com/developers/hastebin/documentation but using --data-binary