lol i feel u on the curl struggle.
httpie is def better for quick api testing.
but if u wanna stick with curl, alias the messy stuff in your `.bashrc`!
like:
`alias gg="curl -s -H 'Accept: application/json'"`
then just `gg https://api.example.com` and boom, less typing.
for debugging, `bat` or `less -R` helps colorize output.
httpie is def better for quick api testing.
but if u wanna stick with curl, alias the messy stuff in your `.bashrc`!
like:
`alias gg="curl -s -H 'Accept: application/json'"`
then just `gg https://api.example.com` and boom, less typing.
for debugging, `bat` or `less -R` helps colorize output.
