shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first <<EOF
{
"collection" : "products"
}
EOF
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"result" : {
"_id" : "products/815733458",
"_key" : "815733458",
"_rev" : "815733458",
"i" : 1,
"a" : {
"j" : 1,
"k" : 1
}
},
"error" : false,
"code" : 200
}