Show Error Response for Curl

Sometimes curl doesn’t show up an error with response

Image by Andrew Martin from Pixabay

To show error detail

To show error HTTP status

To show all stuff

Tip 💡

Use HTTPie. It’s a lovely HTTP client. This image is a good comparison between Curl and Httpie