What is the difference between @RestController and @Controller in Spring Boot?
@Controller Map of the model object to view or template and make it human readable but @RestControllersimply returns the object and object data is directly written in HTTPresponse as JSON or XML.