MuleSoft Certified Integration Architect – Level 1 — Question 75
A Mule application uses an HTTP Request operation to invoke an external API.
The external API follows the HTTP specification for proper status code usage.
What is a possible cause when a 3xx status code is returned to the HTTP Request operation from the external API?
Answer options
- A. The request was ACCEPTED by the external API
- B. The request was REDIRECTED to a different URL by the external API
- C. The request was NOT RECEIVED by the external API
- D. The request was NOT ACCEPTED by the external API
Correct answer: B
Explanation
A 3xx status code indicates that the request was redirected to a different URL, which is why option B is correct. Option A is incorrect because an accepted request typically returns a 2xx status code. Option C is wrong as it suggests the request was not received, which would not result in any status code being returned. Option D is also incorrect since a 3xx response implies a redirection rather than a rejection.