Spring Boot - REST Controllers
Examine the following Spring Boot controller method intended to delete an order by ID:
What is the issue with this method?
@DeleteMapping("/orders")
public void removeOrder(@PathVariable Long orderId) {
// deletion logic
}What is the issue with this method?
