1
0
Fork 0
arangodb/Documentation/Examples/RestImportCsvInvalidBody.ge...

13 lines
327 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/import?collection=products
{ "_key": "foo", "value1": "bar" }
HTTP/1.1 400 Bad Request
content-type: application/json; charset=utf-8
{
"error" : true,
"errorMessage" : "no JSON array found in second line",
"code" : 400,
"errorNum" : 400
}