curl get http status code along with the response

You can use curl -i option to get the HTTP status code along with the response.

Get only the response with curl command

Get only the staus code details with curl command

Get only the http status code in curl command

Get all details with curl command

Leave a Reply