shell> curl -X PUT --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF
{
"name" : " this name is invalid "
}
EOF
HTTP/1.1 202 Accepted
content-type: text/plain; charset=utf-8
x-arango-async-id: 151137490330222
x-content-type-options: nosniff
shell> curl -X PUT --dump - http://localhost:8529/_api/job/151137490330222
HTTP/1.1 400 Bad Request
content-type: application/json; charset=utf-8
x-arango-async-id: 151137490330222
x-content-type-options: nosniff
{
"error" : true,
"errorMessage" : "expected PUT /_api/collection/<collection-name>/<action>",
"code" : 400,
"errorNum" : 400
}