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

22 lines
409 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: 2142459292
{
"error" : false,
"code" : 202,
"vertex" : {
"_id" : "female/alice",
"_rev" : "2142459292",
"_oldRev" : "2140296604",
"_key" : "alice"
}
}