I used it when I wanted to check the response header when sending JSON in post with curl.
If you add --include
at the end, the response header is also shown.
http://localhost:3000/api/url -X POST -H "Content-Type: application/json" -d '{"email":"user@swiswiswift.com", "password":"password"}'--include