PUT request using Curl with json payload
root@ubuntu-231:/cic_code/triton# curl -u nsroot:nsroot --header "Content-Type: application/json" --request PUT --data '{"nstcpprofile": { "name": "nstcp_default_profile", "mss": "1410" } }' http://10.244.1.67:9080/nitro/v1/config/nstcpprofile
{ "errorcode": 0, "message": "Done", "severity": "NONE" }root@ubuntu-231:/cic_code/triton#
Useful link: https://stackoverflow.com/questions/7172784/how-to-post-json-data-with-curl-from-terminal-commandline-to-test-spring-rest