When a client invokes the iMaster NCE-Campus RESTful API, it sends an HTTP request. The server then returns the status code 401. Which of the following errors has occurred?
401 Unauthorized: The server has received the request butrequires authentication. This typically means:
No token or credentials were provided.
Credentials/token were incorrect or expired.
Other options:
403 (Access Denied)would mean correct credentials butinsufficient permissions.
404: Resource does not exist.
503: Service unavailable.
Correct answer: A. Unauthorized
[Reference:Huawei HCIE-Datacom V1.0 Study Guide —Chapter: Northbound APIsSection: RESTful API Status Codes, , , ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit