What's the best way to make a CLI HTTP request for quick API testing? or How do you handle CLI HTTP r

14 Replies, 1794 Views

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.

Messages In This Thread



Users browsing this thread: 1 Guest(s)