EasyConceptSpring, JPA and APIs
What is the purpose of @RestController?
What a good answer covers
It combines @Controller and @ResponseBody so handler return values are written to the HTTP body, typically as JSON.
PreviousWhat is inversion of control in Spring?Next What is the difference between @RequestParam, @PathVariable and @RequestBody?