shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/query <<EOF
{ "query" : "FOR doc IN collectionThatDoesNotExist RETURN doc._key" }
EOF
HTTP/1.1 undefined
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"error" : true,
"errorMessage" : "collection or view not found: name: collectionThatDoesNotExist",
"code" : 404,
"errorNum" : 1203
}