Tyk v2.2 Documentation Components

HomeTyk v2.2 Documentation ComponentsRewrite a URL with the Endpoint Designer

Rewrite a URL with the Endpoint Designer

To rewrite a URL using the GUI, you can use the same values are defined in the API Definition options, just set them in the endpoint designer instead for your path:

Step 1: Browse to the endpoint designer in your API and add an endpoint that matches the path you want to rewrite:

enter image description here

Step 2: Add the regex capture groups and the new URL to the relevant sections:


Step 3: Save the API

Press the “save” or “create” buttons to save the changes and make the URL rewrite active.

Was this article helpful to you? Yes No