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