Curl Post JSON
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
Poised Pheasant
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":100}' http://localhost/api/postJsonReader.do
root@mcsOS:~# curl -X PATCH -d '{"user-block-request":"true"}' 127.0.0.1:8082/v1/ticket-validators -i