I have created some rest web services which will be consumed by mobile application. Rest web services are designed in spring boot with @RestController. I want to access this access this rest apis from static html page and want to redirect to other html pages.
For example: I have static html page /src/main/static/login.html from which I am calling rest web service "http://localhost:8080/login" and when login details verified I want to redirect it to other static html page /scr/main/static/view.html
how can I achieve this. ?
Please help, thanks in advance.