Why The API Pattern is Broken and How We Can Fix It - Code - CURL
curl --verbose --request POST --header "Content-Type: application/json" -d “{‘companyName’:'Widgets Inc','chain':{'combine':'false','type':'postchain','order':{'dept/show':'id','company/update':'return'}}}" “http://localhost:8080/api_v0.1/person/show/1" --cookie cookies.txt