shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/transaction <<EOF
{
"collections" : {
"read" : "products"
},
"action" : "function () { return true; }"
}
EOF
HTTP/1.1 Not Found
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"error" : true,
"errorMessage" : "collection or view not found: products",
"code" : 404,
"errorNum" : 1203
}