shell> curl -X PUT --header 'accept: application/json' --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 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "result" : [ { "_id" : "products/70401", "_key" : "70401", "_rev" : "_ZG8Li7G--A", "loc" : [ -0.002, 0 ], "name" : "Name/-0.002/", "distance" : 222.3898532891175 }, { "_id" : "products/70405", "_key" : "70405", "_rev" : "_ZG8Li7K---", "loc" : [ 0.002, 0 ], "name" : "Name/0.002/", "distance" : 222.3898532891175 }, { "_id" : "products/70407", "_key" : "70407", "_rev" : "_ZG8Li7K--A", "loc" : [ 0.004, 0 ], "name" : "Name/0.004/", "distance" : 444.779706578235 } ], "hasMore" : false, "count" : 3, "error" : false, "code" : 201 }