updated on 2019-03-22
$ curl get_url
$ curl -X POST -H 'Content-Type:application/json' -d '{ "name": "username", "pwd": "password" }' post_url
$ curl -X DELETE delete_url
$ curl -X PUT -H "Content-Type: application/json" -d '{"user": {"name":"update_name", "age": "12345"}}' put_url
$ curl -X PATCH -H "Content-Type: application/json" -d '{"user": {"name":"update_name", "age": "12345"}}' patch_url