It took me forever to figure out this seemingly simple task so now I want to share in case another mule developer out there is having the same problem and can stumble across this example! Here’s an example DataWeave 2.0 function that captures the HTTP status code and reason phrase from an HTTP response: extractHttpStatus(response:…