Skip to content

I also want to check the response header when sending JSON in post with curl

   

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

  1. Sending JSON in post with curl
  2. Disable root login