curl -s -X POST http://controller:35357/v3/tokens -d '{"auth":{"passwordCredentials":{"username":"admin","password":"123456"},"tenantName":"admin"}}' -H 'Content-type:application/json' | python -m json.tool
这是按照官网的获取token的方式,但是一直出现错误
{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
请各位大神帮我看看,谢谢 |