1
0
Fork 0
arangodb/Documentation/Examples/HttpGharialAddEdge.generated

21 lines
408 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation
{
"type" : "friend",
"_from" : "female/alice",
"_to" : "female/diana"
}
HTTP/1.1 202 Accepted
content-type: application/json
etag: 1489103195
{
"error" : false,
"code" : 202,
"edge" : {
"_id" : "relation/1489103195",
"_rev" : "1489103195",
"_key" : "1489103195"
}
}