Skip to content

Instantly share code, notes, and snippets.

@vestingz
Last active January 25, 2023 23:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vestingz/231118277385e5b6180521fa6fa71fba to your computer and use it in GitHub Desktop.
Save vestingz/231118277385e5b6180521fa6fa71fba to your computer and use it in GitHub Desktop.
HTTPie for 0x0

Post file

http -f https://envs.sh file@/path/to/file.xyz

Post remote URL

http -f https://envs.sh url=https://domain.xyz/file.abc

Post from STDIN

echo supdawg | http -f --ignore-stdin https://envs.sh file@/file/stdin

Shorten URL

http -f https://envs.sh shorten=https://domain.xyz/which/is/really/long/123/456

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment