1
0
Fork 0
arangodb/Documentation/Examples/HttpGharialReplaceVertex.ge...

22 lines
406 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex/female/alice <<EOF
{
"name" : "Alice Cooper",
"age" : 26
}
EOF
HTTP/1.1 202 Accepted
content-type: application/json
etag: 598733707
{
"error" : false,
"code" : 202,
"vertex" : {
"_id" : "female/alice",
"_rev" : "598733707",
"_oldRev" : "596571019",
"_key" : "alice"
}
}