1
0
Fork 0
arangodb/Documentation/Examples/RestSimpleAny.generated

18 lines
368 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/any <<EOF
{ "collection": "products" }
EOF
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"document" : {
"_id" : "products/1483197683",
"_key" : "1483197683",
"_rev" : "1483197683",
"Hello2" : "World2"
},
"error" : false,
"code" : 200
}