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

14 lines
326 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
location: /_api/document/2957066/26449614
etag: "26449614"
{
"_rev": 26449614,
"_id": "2957066/26449614",
"error": false
}