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