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

13 lines
299 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document?collection=products
{ 1: "World" }
HTTP/1.1 400 Bad Request
content-type: application/json; charset=utf-8
{
"error" : true,
"errorMessage" : "expecting attribute name",
"code" : 400,
"errorNum" : 600
}