DEV Community

Discussion on: Quick API Debugging Tip

Collapse
 
joelmccracken profile image
Joel McCracken

the -k option lets you ignore ssl cert issues, which is handy for local development.

curl -v is really handy for debugging things. You can use it to get more info about a request, which often is not available in dev tools.

You can combine it with jq in order to do some processing on json that goes in to/comes out of a request/response.

I should write a blog post about it, some things are a bit trickier/would probably be helpful for someone to have thorough examples.

Thread Thread
 
theringleman profile image
Sam Ringleman

I would love to read that post.

Thank you for taking your time to share these though. I greatly appreciate it!