1
0
Fork 0
arangodb/Documentation/Examples/rest-create-document-wait

13 lines
284 B
Plaintext

> curl --data @- -X POST --dump - http://localhost:8529/_api/document?collection=2957066&waitForSync=true
{ "Hello" : "World" }
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
etag: "26449614"
{
"_rev": 26449614,
"_id": "2957066/26449614",
"error": false
}