Question:
Which HTTP response status code indicates that the user is not authenticated to access the site?
- 201
- 400
- 401
- 403
- 404
Explanation: Explanation: Most common HTTP status codes include the following:
- 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 (v1.0) – Module 4 Exam Answers
Please login or Register to submit your answer