Best way to make an HTTP request from a CLI console? or How do you handle CLI console HTTP requests e

16 Replies, 1657 Views

For quick debugging, I love `jq` paired with curl. Like:
`curl -s example.com/api | jq .`

Makes cli console http requests way easier to parse. Also, if you’re failing a lot, maybe check your quotes? JSON and URLs get weird with escaping.

Messages In This Thread



Users browsing this thread: 1 Guest(s)