6. Header Forwarding
Min Version: Tyk v3.2.0
You’re able to configure upstream Headers dynamically, that is, you’re able to inject Headers from the client request into UDG upstream requests. For example, it can be used to access protected upstreams.
The syntax for this is straight forward:
In your data sources, define your new Header name and then declare which request header’s value to use:
A JSON string has to be escaped before using as a header value. For example: