shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/range <<EOF
{
"collection" : "products",
"attribute" : "i",
"left" : 2,
"right" : 4
}
EOF
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [
{
"_key" : "11437",
"_id" : "products/11437",
"_rev" : "11437",
"i" : 2
},
{
"_key" : "11440",
"_id" : "products/11440",
"_rev" : "11440",
"i" : 3
}
],
"hasMore" : false,
"count" : 2,
"error" : false,
"code" : 201
}