shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first-example <<EOF
{
"collection" : "products",
"example" : {
"i" : 1
}
}
EOF
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"document" : {
"_key" : "10739",
"_id" : "products/10739",
"_rev" : "_VReqww2--_",
"i" : 1
},
"error" : false,
"code" : 200
}