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: "_Y2g6wS6--B"
location: /_db/_system/_api/document/products/104341
x-content-type-options: nosniff
{
"_id" : "products/104341",
"_key" : "104341",
"_rev" : "_Y2g6wS6--B",
"new" : {
"_key" : "104341",
"_id" : "products/104341",
"_rev" : "_Y2g6wS6--B",
"Hello" : "World"
}
}