shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example <<EOF { "collection" : "products", "example" : { "i" : 1 } } EOF HTTP/1.1 201 Created content-type: application/json; charset=utf-8 { "result" : [ { "_key" : "10524", "_id" : "products/10524", "_rev" : "_U-_qVPy---", "i" : 1 }, { "_key" : "10521", "_id" : "products/10521", "_rev" : "_U-_qVPu--_", "a" : { "j" : 1 }, "i" : 1 }, { "_key" : "10527", "_id" : "products/10527", "_rev" : "_U-_qVPy--_", "a" : { "k" : 2, "j" : 2 }, "i" : 1 }, { "_key" : "10517", "_id" : "products/10517", "_rev" : "_U-_qVPu---", "a" : { "k" : 1, "j" : 1 }, "i" : 1 } ], "hasMore" : false, "count" : 4, "error" : false, "code" : 201 }