Hi, im a student and im testing api gateways so i can later choose one to use in my project.
Currently im testing tyk and im having trouble understanding how to correctly set endpoints in the APIs that i created for testing.
So my problem is that i have for example 2 endpoints in 1 API ( “/vehicle” and “/garage”) and i want to send requests to those endpoints under 1 API (for example Service1)
Is it possible to configure this in a way that i only need to specify the urls like this? :
GET http://localhost:port/vehicle/…
GET http://localhost:port/garage/…
So that /vehicle and /garage are linked to Service1 and tyk routes to Service1 when the requests have those endpoints.
Im sorry if this is a basic issue and i probably missed some documentation explaining it, but i´ve been searching for a while and im not being able to find a solution or understand if its possible.
The solution i encountered so far where to create 2 apis the with same target url and listen_paths /vehicle and /garage.
Thank you for the attention