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