shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/import?collection=products&type=documents&complete=true <<EOF { "_key": "abc", "value1": 25, "value2": "test" } { "_key": "abc", "value1": "bar", "value2": "baz" } EOF HTTP/1.1 Conflict content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "code" : 409, "error" : true, "errorMessage" : "unique constraint violated", "errorNum" : 1210 }