shell> curl --header 'accept: application/json' --dump - http://localhost:8529/hello/world HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "request" : { "authorized" : true, "user" : "root", "database" : "_system", "url" : "/hello/world", "protocol" : "http", "server" : { "address" : "127.0.0.1", "port" : 29027 }, "client" : { "address" : "127.0.0.1", "port" : 52210, "id" : "156136718395670" }, "internals" : { }, "headers" : { "accept" : "application/json", "host" : "127.0.0.1", "authorization" : "Basic cm9vdDo=", "content-type" : "application/json", "connection" : "Keep-Alive" }, "requestType" : "GET", "parameters" : { }, "cookies" : { }, "urlParameters" : { } }, "options" : { } } shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/hello/world <<EOF {hello: 'world'} EOF HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "request" : { "authorized" : true, "user" : "root", "database" : "_system", "url" : "/hello/world", "protocol" : "http", "server" : { "address" : "127.0.0.1", "port" : 29027 }, "client" : { "address" : "127.0.0.1", "port" : 52210, "id" : "156136718395670" }, "internals" : { }, "headers" : { "accept" : "application/json", "content-length" : "16", "host" : "127.0.0.1", "authorization" : "Basic cm9vdDo=", "content-type" : "application/json", "connection" : "Keep-Alive" }, "requestType" : "POST", "requestBody" : "{hello: 'world'}", "parameters" : { }, "cookies" : { }, "urlParameters" : { } }, "options" : { } } shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/hello/world <<EOF {hello: 'world'} EOF HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "request" : { "authorized" : true, "user" : "root", "database" : "_system", "url" : "/hello/world", "protocol" : "http", "server" : { "address" : "127.0.0.1", "port" : 29027 }, "client" : { "address" : "127.0.0.1", "port" : 52210, "id" : "156136718395670" }, "internals" : { }, "headers" : { "accept" : "application/json", "content-length" : "16", "host" : "127.0.0.1", "authorization" : "Basic cm9vdDo=", "content-type" : "application/json", "connection" : "Keep-Alive" }, "requestType" : "PUT", "requestBody" : "{hello: 'world'}", "parameters" : { }, "cookies" : { }, "urlParameters" : { } }, "options" : { } } shell> curl -X DELETE --header 'accept: application/json' --dump - http://localhost:8529/hello/world HTTP/1.1 Not Found content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "error" : true, "code" : 404, "errorNum" : 404, "errorMessage" : "unknown path '/hello/world'" }