HTTP Request - Filter Status Code

Hello,

I have an HTTP request in which I POST some data to an endpoint. Is there a way to then filter out the responses to this POST request and perform additional operations?

For instance, if the post request is successful (200 code) then I want to make another separate request. If the response is a 400 code error, I would like to take a separate action. I realize a router could do this, but I’m confused on the filtering or possible other module that may handle the logic for the response.

I am using the “HTTP - make a request” module to post. Thanks in advance yall!