1
0
Fork 0
arangodb/Documentation/Examples/RestGraphCreateVertex.gener...

21 lines
391 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/graph/graph/vertex
{
"_key" : "v1",
"optional1" : "val1"
}
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: 1182853467
{
"vertex" : {
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1182853467",
"optional1" : "val1"
},
"error" : false,
"code" : 202
}