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