API Gateway 10.15 | Using API Gateway | Implement APIs | Policies | Routing | Custom HTTP Header
 
Custom HTTP Header
You can use this policy to route requests based on the custom HTTP headers specified for the outgoing message to the native service.
The table lists the properties that you can specify for this policy:
Property
Description
HTTP Header Key
Specifies the HTTP header key in the requests.
Header Value
Specifies the Header value contained in the requests. As this property supports variable framework, you can use the available variables to specify the header value.
For example, if you provide a header value as ${request.header.token1}, the header value in token1 is sent in the outgoing message to authenticate the backend services .
For details about the variables available in API Gateway, see Variables Available in API Gateway.
You can add multiple entries for the Header key-value pair by clicking .