Cisco
350-201 · Question #3
350-201 Question #3: Real Exam Question with Answer & Explanation
The correct answer is D: successful acceptance of the client's request. HTTP 2xx status codes are the standard class indicating that a client request was successfully received, understood, and accepted by the server.
Question
What do 2xx HTTP response codes indicate for REST APIs?
Options
- Aadditional action must be taken by the client to complete the request
- Bthe server takes responsibility for error status codes
- Ccommunication of transfer protocol-level information
- Dsuccessful acceptance of the client's request
Explanation
HTTP 2xx status codes are the standard class indicating that a client request was successfully received, understood, and accepted by the server.
Common mistakes.
- A. Additional client action such as following a redirect is indicated by 3xx status codes, not 2xx.
- B. Server-side error conditions are communicated through 5xx status codes, which signal that the server failed to fulfill an otherwise valid request.
- C. Transfer protocol-level informational responses are conveyed by 1xx status codes, which provide provisional acknowledgments before the final response is sent.
Concept tested. HTTP response status code classes for REST APIs
Reference. https://www.rfc-editor.org/rfc/rfc7231#section-6.3
Community Discussion
No community discussion yet for this question.