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

13 lines
299 B
Plaintext

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