1
0
Fork 0
arangodb/Documentation/Examples/RestSimpleFirstExample.gene...

17 lines
383 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first-example
{ "collection": "products", "example" : { "i" : 1 } }
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"document" : {
"_id" : "products/1349215702",
"_key" : "1349215702",
"_rev" : "1349215702",
"i" : 1
},
"error" : false,
"code" : 200
}