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

33 lines
615 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first <<EOF
{ "collection": "products", "count" : 2 }
EOF
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/847704971",
"_key" : "847704971",
"_rev" : "847704971",
"i" : 1,
"a" : {
"k" : 1,
"j" : 1
}
},
{
"_id" : "products/848032651",
"_key" : "848032651",
"_rev" : "848032651",
"i" : 1,
"a" : {
"j" : 1
}
}
],
"error" : false,
"code" : 200
}