Ultra simple way to test a JSON API POST response using curl
1 |
curl -X POST -H "Content-Type: application/json" -d { \"title\\": \"value1\" }" http://apisomewhere:8080/api/something |
Watch out for single quotes, they don’t pass well in windows