shell> curl -X POST --header 'accept: application/json' --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 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "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, "httpRequests" : 0, "executionTime" : 0.00018358230590820312, "peakMemoryUsage" : 66968 }, "warnings" : [ ] }, "error" : false, "code" : 201 }