I have created the REST Service using Spring MVC (@RestController
) which is used to consume Json request and expose the Json response and I placed the .html
file inside the web-app
folder . in that html
file using jquery+Ajax
i am able consuming the REST Service. it is working fine. ( I have given the relative path).
How can I access the REST
service from outside of the application ? or how i will access my REST
service using Absolute path ?
Note : I am using Spring boot
.
Thanks.