spring boot to configure the base url to all contoller code example
Example 1: spring boot base url
server.servlet.context-path=/api
Example 2: spring boot base url
server.servlet.context-path=/api
server.servlet.context-path=/api
server.servlet.context-path=/api