Setting headers for a target API call
There are two helpers for setting headers from a transformation. SetReqHeader
is used for a request-side transformation to set a header passed to the target API server.
The other helper is called SetResHeader
, is used on a response-side transformation to set a response header after the target server API has been called. This affects what headers the calling client will see as part of the API-call response.