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: "_UWx9FDO---"
location: /_db/_system/_api/document/products/9849
{
"_id" : "products/9849",
"_key" : "9849",
"_rev" : "_UWx9FDO---",
"new" : {
"_key" : "9849",
"_id" : "products/9849",
"_rev" : "_UWx9FDO---",
"Hello" : "World"
}
}