1
0
Fork 0
arangodb/Documentation/Examples/RestCursorCreateCursorUnkno...

14 lines
358 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF
{"query":"FOR u IN unknowncoll LIMIT 2 RETURN u","count":true,"batchSize":2}
EOF
HTTP/1.1 404 Not Found
content-type: application/json; charset=utf-8
{
"error" : true,
"errorMessage" : "collection not found (unknowncoll)",
"code" : 404,
"errorNum" : 1203
}