shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF
{
"query" : "FOR p IN products REMOVE p IN products"
}
EOF
HTTP/1.1 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"result" : [ ],
"hasMore" : false,
"cached" : false,
"extra" : {
"stats" : {
"writesExecuted" : 2,
"writesIgnored" : 0,
"scannedFull" : 2,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.00017547607421875,
"peakMemoryUsage" : 18152
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}