shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/import?collection=products&details=true <<EOF [ "_key", "value1", "value2" ] [ "abc", 25, "test" ] ["abc", "bar", "baz" ] EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "error" : false, "created" : 1, "errors" : 1, "empty" : 0, "updated" : 0, "ignored" : 0, "details" : [ "at position 1: creating document failed with error 'unique constraint violated', offending document: {\"_key\":\"abc\",\"value1\":\"bar\",\"value2\":\"baz\"}" ] }