1curl -X POST -H "Content-Type: application/json" \
2 -d '{"username":"abc","password":"abc"}' \
3 https://api.example.com/v2/login
4
1curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":100}' http://localhost/api/postJsonReader.do
1curl -X POST -H "Content-Type: application/json" -d @../data/cats.json http://localhost:8080/mSfvMwNAfj
2