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