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