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

13 lines
270 B
Plaintext

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