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" : [ ], "hasMore" : false, "count" : 0, "error" : false, "code" : 201 }