In some cases you need to request an entity from an API which would return a 404 when the entity doesn’t exist. The HTTP Client option to allow ‘status 404’ works great for this, but I’m running into one issue: I have no ability to actually “see” that it’s a 404 I’m getting.
Currently I’m validating based on the response body (this api gives back “detail”: “Not found.”), but I don’t really like doing it like this.
The HTTP-transformer already has the option to “Add headers to response body”. It would be great if the HTTP status code is added to the headers, or added into another node with more data about the response. That way, I could really check correctly what the response was.