Which HTTP status code range indicates a successful API response from a custom extension call?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Todd Lammle: 'Imagine you're building a chatbot and this exact situation comes up — 2xx success is your go-to move. HTTP 2xx status codes such as 200 OK or 201 Created confirm the request was successfully processed. This is a classic Domain 6: Build Back-End Integrations concept you'll want locked in before exam day.'
Full explanation below image
Full Explanation
HTTP 2xx status codes such as 200 OK or 201 Created confirm the request was successfully processed. The 1xx codes are informational. The 4xx codes indicate client-side errors (invalid input or authentication failure). The 5xx codes indicate server-side errors. Developers should add error handling steps for non-2xx responses. The correct answer, "2xx success", directly satisfies the scenario because it aligns with watsonx Assistant's design principles and the specific capability being tested. The incorrect options ("1xx informational", "4xx client error", "5xx server error") may appear relevant but each misses a key requirement or introduces a step that is either unnecessary or belongs to a different workflow. Mastering the distinction between these approaches is essential for effective watsonx Assistant implementations and is a core focus of the Domain 6: Build Back-End Integrations section of the certification exam.