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