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

22 lines
418 B
Plaintext

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