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

22 lines
399 B
Plaintext

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