Custom Global Policy

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

like:
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.

-Senthil

Mark,
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

-Senthil

Senthil,

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.

-Mark

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: