shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF { "Hello": "World", "_key" : "lock" } EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 etag: "_Y2g6wU---_" location: /_db/_system/_api/document/products/lock x-content-type-options: nosniff { "_id" : "products/lock", "_key" : "lock", "_rev" : "_Y2g6wU---_" } shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/document/products?overwrite=true <<EOF { "Hello": "Universe", "_key" : "lock" } EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 etag: "_Y2g6wUi--B" location: /_db/_system/_api/document/products/lock x-content-type-options: nosniff { "_id" : "products/lock", "_key" : "lock", "_rev" : "_Y2g6wUi--B", "_oldRev" : "_Y2g6wU---_" }