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

13 lines
293 B
Plaintext

> curl --data @- -X POST --dump - http://localhost:8529/_api/document?collection=example&createCollection=true
{ "Hello" : "World" }
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: "28280622"
{
"_rev": "28280622",
"_id": "26838830/28280622",
"error": false
}