shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/document/products?returnNew=true <<EOF
{"Hello":"World"}
EOF
HTTP/1.1 Accepted
content-type: application/json; charset=utf-8
etag: "_YYClLA2--_"
location: /_db/_system/_api/document/products/104531
x-content-type-options: nosniff
{
"_id" : "products/104531",
"_key" : "104531",
"_rev" : "_YYClLA2--_",
"new" : {
"_key" : "104531",
"_id" : "products/104531",
"_rev" : "_YYClLA2--_",
"Hello" : "World"
}
}