Hi, all.
We have used tyk for sometime and initially just had one API defined. Now we have a need to have two different versions of API up and running. On the background this is handled by running two processes with different configurations and on different ports.
As our API is running on different ports, we cannot use tyk support for specifying API versions as the target URL of the defined API should be different, depending on which port tyk needs to forward the request.
I have tested setting up different API’s for that and specifying different listen paths for different versions. This works great in case I have two API’s one listening on path “/v1/” and the other listening on path “/v2/”. Now I also wish to setup third API, which would be the default un-versioned one, so listening on path “/”.
I have not been able to get those three to work together as when I specify the third default API all the requests are captured by this API, causing some requests to end up in the wrong target URL.
Should this be possible at all to have those three working together? If yes, could you give me some guidelines on how to achieve this?
Best regards.
Piret