shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/simple/any <<EOF
{
"collection" : "products"
}
EOF
HTTP/1.1 OK
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"document" : {
"_key" : "70598",
"_id" : "products/70598",
"_rev" : "_ZXF6Z4W--C",
"Hello2" : "World2"
},
"error" : false,
"code" : 200
}