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

18 lines
365 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/839644043",
"_key" : "839644043",
"_rev" : "839644043",
"Hello1" : "World1"
},
"error" : false,
"code" : 200
}