loading...

Discussion on: Simple working example of REST Web Service with Spring Boot

Collapse
srirammahadevan profile image
Sriram.Mahadevan

Instead of @RequestMapping() you can even use @GetMapping() which is more readable and easier

Collapse
pmgysel profile image
Philipp Gysel Author

Yeah this would make the code even shorter, good point! :)