Dynamic Router

Overview

The API Gateway can act as a proxy for clients of the secured Web service. When a client uses a proxy, it includes the fully qualified URL of the destination in the request line of the HTTP request. It sends this request to the configured proxy, which then forwards the request to the host specified in the URL. The relative path used in the original request is preserved by the proxy on the outbound connection.

The following is an example of an HTTP request line that was made through a proxy, where WEB_SERVICE_HOST is the name or IP address of the machine hosting the destination Web service:

POST http://WEB_SERVICE_HOST:80/myService HTTP/1.0

When the API Gateway acts as a proxy for clients, it can receive requests like the one above. The Dynamic Router filter can route the request on to the URL specified in the request line (http://WEB_SERVICE_HOST:80/myService).

Depending on how the API Gateway is perceived by the client, different combinations of routing filters can be used. For an introduction to using the various filters in the Routing category, see the topic on Getting Started with Routing Configuration.

Configuration

Enter an appropriate name for the router in the Name field on the Dynamic Router filter configuration screen.