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

14 lines
321 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document?collection=products <<EOF
{ "Hello": "World" }
EOF
HTTP/1.1 404 Not Found
content-type: application/json; charset=utf-8
{
"error" : true,
"errorMessage" : "collection 'products' not found",
"code" : 404,
"errorNum" : 1203
}