Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

zipped files too large failing to be retrieved with raw #449

Closed
AaronNGray opened this issue Mar 5, 2024 · 5 comments
Closed

zipped files too large failing to be retrieved with raw #449

AaronNGray opened this issue Mar 5, 2024 · 5 comments
Labels

Comments

@AaronNGray
Copy link

AaronNGray commented Mar 5, 2024

Following https://www.toptal.com/developers/hastebin/documentation but using --data-binary

curl --request POST --url https://hastebin.com/documents --header "Authorization: Bearer TOKEN" --data-binary "@schema.zip"
{"key":"ilozemivib"}
curl --request GET --url https://hastebin.com/raw/ilozemivib --header "Authorization: Bearer TOKEN" -o test.zip
ls -al ../*.zip
-rwxrwxrwx 1 aaron aaron 34008 Mar  5 17:55 ../schema.zip
-rwxrwxrwx 1 aaron aaron 51494 Mar  5 17:55 ../test.zip
@AaronNGray
Copy link
Author

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

@HeyBanditoz
Copy link

you may want to use a different pastebin

Copy link

github-actions bot commented May 5, 2024

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label May 5, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2024
@HeyBanditoz
Copy link

Lol

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants