Hi, Team,
I was told to use httpsender to filter out some Methods (POST, PATCH, DELETE, and PUT).
However, when I do it on the sendingRequest and I set the expected status code (msg.getResponseHeader().setStatusCode(405)), in the responseReceived, the status code is not the one I've set, and actually the one that was processed, like 202 (Accepted).
So, I was wondering if there is something I can do on the Request itself so that when the request is processed, we don't have any action done.
JS script is attached.
Kind regards,
Caubi