shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/import?collection=links&details=true <<EOF [ "name" ] [ "some name" ] [ "other name" ] EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "error" : false, "created" : 0, "errors" : 2, "empty" : 0, "updated" : 0, "ignored" : 0, "details" : [ "at position 1: missing '_from' or '_to' attribute, offending document: {\"name\":\"some name\"}", "at position 2: missing '_from' or '_to' attribute, offending document: {\"name\":\"other name\"}" ] }