shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/import?collection=links&type=documents <<EOF { "_from": "products/123", "_to": "products/234" } {"_from": "products/332", "_to": "products/abc", "name": "other name" } EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "error" : false, "created" : 2, "errors" : 0, "empty" : 0, "updated" : 0, "ignored" : 0 }