shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/?collection=edges <<EOF { "name" : "Emil", "_from" : "vertices/1", "_to" : "vertices/2" } EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 etag: "10450" location: /_db/_system/_api/document/edges/10450 { "_id" : "edges/10450", "_key" : "10450", "_rev" : "10450" } shell> curl --dump - http://localhost:8529/_api/document/edges/10450 HTTP/1.1 200 OK etag: "10450" content-type: application/json; charset=utf-8 { "_key" : "10450", "_id" : "edges/10450", "_from" : "vertices/1", "_to" : "vertices/2", "_rev" : "10450", "name" : "Emil" }