How can I pass an arbitrary header field to an upstream system?
Use pair producers to copy the wanted header fields of the incoming request ($request/headers
) to the request
action configuration. Here we pass User-Agent
and Accept
:
We can reduce this further to
or maybe even more readable using with
:
Last updated