shell> curl -X POST --header 'x-arango-async: store' --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF { "query" : "FOR i IN 1..10 FOR j IN 1..10 LET x = sleep(1.0) FILTER i == 5 && j == 5 RETURN 42" } EOF HTTP/1.1 Accepted content-type: text/plain; charset=utf-8 x-arango-async-id: 88508 x-content-type-options: nosniff shell> curl --header 'accept: application/json' --dump - http://localhost:8529/_api/job/pending HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff [ "88508" ] shell> curl -X PUT --header 'accept: application/json' --dump - http://localhost:8529/_api/job/88508/cancel HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "result" : true } shell> curl --header 'accept: application/json' --dump - http://localhost:8529/_api/job/pending HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff [ "88508" ]