Rest-API Simple spring boot application to implement rest API - Generate a simple mvn project from spring.io Add dependency "spring-boot-starter-web" Create controller class(restfulAPI) and good to go. Run it. pom.xml - Controller class- Output-