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:
Parameter | Description |
---|---|
HTTP Header Key | Specifies the HTTP header key contained 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 webMethods API Gateway, see Variable Framework . |
You can add multiple entries for the Header key-value pair by clicking the Add button.