Hi Akhil,
If I understand your question, is your MPGW at abcuat.com and you want it to return a 404 Not Found if the inbound Host request header is not abcuat.com? If so that is validation you'll need to add to your MPGW's request rule, either with an XSLT or a GatewayScript action by getting the value of the Host header and comparing it to a value you expect it to be. If they don't match, then set the response status code to 404 Not Found and reject the transaction. Only if it passes would your MPGW respond with whatever response you expect with a 200 OK.
Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------
Original Message:
Sent: Tue March 19, 2024 01:49 AM
From: Akhil Salgotra
Subject: header validation on mpgw service
Hi Team,
------------------------------
Akhil Salgotra
------------------------------