shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF { "query" : "FOR i IN 1..10 LET a = 1 LET b = 2 FILTER a + b == 3 RETURN i", "count" : true, "options" : { "maxPlans" : 1, "optimizer" : { "rules" : [ "-all", "+remove-unnecessary-filters" ] } } } EOF HTTP/1.1 201 Created content-type: application/json; charset=utf-8 { "result" : [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], "hasMore" : false, "count" : 10, "cached" : false, "extra" : { "stats" : { "writesExecuted" : 0, "writesIgnored" : 0, "scannedFull" : 0, "scannedIndex" : 0, "filtered" : 0, "executionTime" : 0.0012252330780029297 }, "warnings" : [ ] }, "error" : false, "code" : 201 }