shell> curl -X POST --header 'x-arango-async: store' --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/transaction <<EOF
{
"collections" : {
"read" : [
"_frontend"
]
},
"action" : "function () {require('internal').sleep(15.0);}"
}
EOF
HTTP/1.1 Accepted
content-type: text/plain; charset=utf-8
x-arango-async-id: 132598
x-content-type-options: nosniff
shell> curl --header 'accept: application/json' --dump - http://localhost:8529/_api/job/132598
HTTP/1.1 No Content
content-type: text/plain; charset=utf-8
x-content-type-options: nosniff