shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF { "collection" : "products", "latitude" : 0, "longitude" : 0, "skip" : 1, "limit" : 3, "distance" : "distance", "radius" : 300 } EOF HTTP/1.1 201 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "result" : [ { "distance" : 222.38985328911744, "_id" : "products/11211", "_key" : "11211", "_rev" : "_VReqzZC--_", "loc" : [ -0.002, 0 ], "name" : "Name/-0.002/" }, { "distance" : 222.38985328911744, "_id" : "products/11217", "_key" : "11217", "_rev" : "_VReqzZG---", "loc" : [ 0.002, 0 ], "name" : "Name/0.002/" }, { "distance" : 444.779706578235, "_id" : "products/11208", "_key" : "11208", "_rev" : "_VReqzZC---", "loc" : [ -0.004, 0 ], "name" : "Name/-0.004/" } ], "hasMore" : false, "count" : 3, "error" : false, "code" : 201 }