Refer to the exhibits.
A web client sends a GET request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client.
Refer to the exhibits.
A web client sends a GET request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client.
If the HTTP Request throws an error, the error handling defined within the flow comes into play. The 'On Error Continue' scope is configured to handle such errors, setting the payload to 'ERROR1' and allowing the flow to continue. Since no specific status code is defined in the error handling, the default response status code of 200 is returned. Therefore, the web client receives a payload of 'ERROR1' and a status code of 200.
B is correct
B is correct. The flow gets an error at the HTTP request and the message in on error continue' is returned
B is correct https://blogs.mulesoft.com/dev-guides/how-to-tutorials/mule4-error-handling-deep-dive/
The standard way here for checking the correct answer seems to be checking the discussion instead of checking the solution :)
B. Response body: "ERROR1" Default response status code: 200 - Because we got "On Error Continue" with the message "Error1"
B is correct