401 Unauthorized when use REST API to get ceilometer data with telnet command
Asked by
ericshen
I was trying to use REST API to get ceilometer data with telnet
command like below, but it told me unauthorized, and I did not know
how to handle authorization in telnet, and could you please give me
some help, thanks very much.
telnet 127.0.0.1 8777
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
GET /v1/projects/
401 Unauthorized
This server could not verify that you are authorized to access the
document you requested. Either you supplied the wrong credentials
(e.g., bad password), or your browser does not understand how to
supply the credentials required.
Authentication required Connection closed by foreign host.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ceilometer Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Lianhao Lu
- Solved:
- Last query:
- Last reply:
To post a message you must log in.