Which HHTP status code is the correct response for a request with an incorrect password applied to a REST API session?
- A. HTTP Status Code 200
- B. HTTP Status Code 302
- C. HTTP Status Code 401
- D. HTTP Status Code: 504
Explanation: A 401 error response indicates that the client tried to operate on a protected resource without providing the proper authorization. It may have provided the wrong credentials or none at all.
Note: answer ‘HTTP Status Code 200’ 4xx code indicates a “client error” while a 5xx code indicates a “server error”.
More Questions: CCNP 350-401 Dumps