1
0
Fork 0
arangodb/Documentation/Examples.ArangoDB/api-cursor-unknown-collection

13 lines
392 B
Plaintext

> curl --data @- -X POST --dump - http://localhost:8529/_api/cursor
{ "query" : "FOR u IN unknowncollection LIMIT 2 RETURN u.n", "count" : true, "bindVars" : {}, "batchSize" : 2 }
HTTP/1.1 400 Bad Request
content-type: application/json
{
"code": 400,
"error": true,
"errorMessage": "unable to open collection '%s': unable to open collection 'unknowncollection'",
"errorNum": 1510
}