Tyk v2.2 Documentation Components

HomeTyk v2.2 Documentation ComponentsURL Rewrite Overview

URL Rewrite Overview

URL Rewriting is a very useful feature when translating an outbound API interface to the internal structure of your services.

To rewrite a URL with tyk, you must specify the components of the URL to capture, and then the order in which to re-assemble the captured components.

Unlike other web servers, Tyk uses a wide match to capture the URL and then a fixed regex to handle the restructuring, so as with other middleware components you must set a path to match on.

Was this article helpful to you? Yes No