Is it possible to use a spring boot application for controlling a website and as an api at the same time?

44 Views Asked by At

So I have build a spring boot application which I use to run my website which contains of different html files), if I enter a certain url. But I also want it to be an api and to return json data, when given another url. Is that possible or do I have to implement two different applications for that?

0

There are 0 best solutions below