Question:
A network operator is testing a network management application that uses REST API to communicate with network devices. The operator received an HTTP response code 403 in a test step. What does this response code indicate?
- Access is not granted based on supplied credentials.
- The page at HTTP URL location does not exist or is hidden.
- Client has not authenticated to access the site or API call.
- Request failed due to a client-side issue.
Exam with this question: CCNP ENCOR 8 Course Final Exam Answers
****
A network operator is testing a network management application that uses REST API to communicate with network devices. The operator received an HTTP response code 403 in a test step. What does this response code indicate?
- Client has not authenticated to access the site or API call.
- The page at HTTP URL location does not exist or is hidden.
- Request failed due to a client-side issue.
- Access is not granted based on supplied credentials.
Explanation: Most common HTTP status codes include:
200 – OK (using GET or POST to exchange data with an API successfully)
201 – Created (creating resources by using a REST API call successfully)
400 – Bad Request (The request from the client is failed due to client-side issue.)
401 – Unauthorized (The client is not authenticated to access site or API call.)
403 – Forbidden (The access request is not granted based on the supplied credentials.)
404 – Not Found (The page requested at HTTP URL location does not exist or is hidden.)
Exam with this question: DevNet Associate – Practice Final Exam Answers
Please login or Register to submit your answer