If you were using Microservice with Spring Boot to build different REST API endpoints, context path might help you.app
For example, you have two endpoints, each in a Microservice application:ui
1. teamspa
2. playerscode
They both have sub-route such as:server
For each application you can set up:blog
team/application.properties:servlet
# all the requests should be prefixed with /team
server.servlet.context-path=/team
players/application.properties:requests
# all the requests should be prefixed with /team
server.servlet.context-path=/players
Now when you access those endpoints, you should add prefix:it
localhost:8080/team/info