What is the difference between `@RequestMapping` and `@GetMapping` in Spring?
`@RequestMapping` is used to configure services for any HTTP method, whereas `@GetMapping` only works for GET requests and is more restrictive.
Thatâ€™s incorrect. While `@GetMapping` is a shortcut for GET requests, `@RequestMapping` can handle any HTTP method, not just specific ones.
Can you explain how to handle different HTTP methods using `@RequestMapping`?