【发布时间】:2016-07-13 06:26:53
【问题描述】:
我可以按照文档中的说明创建用户:
curl -X POST --user root:root --data-binary @- --dump - http://localhost:8529/_api/user <<EOF
{
"user" : "testUser",
"password" : "secure"
}
EOF
但密码参数似乎被 Arango 忽略了。
curl -v --user testUser:secure http://localhost:8529/_api/user/testUser
返回 401
同时:
curl -v --user testUser: http://localhost:8529/_api/user/testUser
返回 200
我在这里做错了吗?
【问题讨论】:
标签: rest authentication arangodb nosql