Custom Global Policy

I am currently exploring the API Gateway. I was wondering if anyone was able to create a custom Policy.

custom policy that would add necessary Headers to the request before forwarding then to the API

or anything similar?

Header manipulation is a much required capability of an API Gateway. Will check in SAG Gateway and get back.


Under Policies > Routing > Custom HTTP Header is available. You must be able to use it to manipulate header instead of trying to do this by invoking IS service



I would like to generate a dynamic value for the Custom Header, say like a Custom correlation ID. Custom HTTP Header seems to provide fixed values for Headers.


You could use ‘pre or post processing service’ policy that invokes service to add custom headers with values that you want.

Was able to do this through Preprocessing. Thanks :slight_smile: