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

14 Replies, 805 Views

For quick API testing, I love curl + jq, but xh is a newer alternative that’s even simpler.

Example:
`xh https://api.example.com/data Accept:application/json`

No weird flags, and JSON is auto-highlighted. Plus, it’s way less typing than curl.

Messages In This Thread



Users browsing this thread: 1 Guest(s)