1
0
Fork 0
arangodb/Documentation/Examples/RestImportJsonInvalidBody.g...

14 lines
319 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/import?collection=products&type=list <<EOF
{ }
EOF
HTTP/1.1 400 Bad Request
content-type: application/json; charset=utf-8
{
"error" : true,
"errorMessage" : "expecting a JSON array in the request",
"code" : 400,
"errorNum" : 400
}