=== Message

Replace "@RequestMapping(method = RequestMethod.GET)" with "@GetMapping" 

Replace "@RequestMapping(method = RequestMethod.POST)" with "@PostMapping"

Replace "@RequestMapping(method = RequestMethod.PUT)" with "@PutMapping"

Replace "@RequestMapping(method = RequestMethod.PATCH)" with "@PatchMapping"

Replace "@RequestMapping(method = RequestMethod.DELETE)" with "@DeleteMapping"

