IBM Integration Community Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
We need remove "X-Client-IP" from response headers ? If yes please guide, Because I have tried using gatewayscript, Set Variable in a single API which is working but we want to do it for all apis at a time.
DATAPOWER(v5 compatible) version - 10.5.0.1 and APIC version - 10.0.5.1.
Use global post response policy if you want it to implement for all responses. You can use var hm = require('header-metadata'); to remove the current headers.
For remove X client IP from header. You can do by modify the response header. Firstly you create the processing policy and then add the API assembly make sure it is apply globally. For remove the X Client IP header use delete operation in the GatewayScript. For more information https://www.ibm.com/docs/en/datapower-gatewaypython training