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