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 undefined
content-type: application/json; charset=utf-8
etag: "_XUJy9TG--_"
location: /_db/_system/_api/document/products/103431
x-content-type-options: nosniff
{
"_id" : "products/103431",
"_key" : "103431",
"_rev" : "_XUJy9TG--_",
"new" : {
"_key" : "103431",
"_id" : "products/103431",
"_rev" : "_XUJy9TG--_",
"Hello" : "World"
}
}