shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/simple/within-rectangle <<EOF { "collection" : "products", "latitude1" : 0, "longitude1" : 0, "latitude2" : 0.2, "longitude2" : 0.2, "skip" : 1, "limit" : 2 } EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "result" : [ { "_key" : "71085", "_id" : "products/71085", "_rev" : "_ZXF6aCS--A", "name" : "Name/0.008/", "loc" : [ 0.008, 0 ] }, { "_key" : "71083", "_id" : "products/71083", "_rev" : "_ZXF6aCS---", "name" : "Name/0.006/", "loc" : [ 0.006, 0 ] } ], "hasMore" : false, "count" : 2, "error" : false, "code" : 201 }