Spring Boot - REST Controllers
Consider this Spring Boot controller method:
What is the output when a DELETE request is sent to
@DeleteMapping("/products/{productId}")
public ResponseEntity removeProduct(@PathVariable String productId) {
return ResponseEntity.ok("Deleted product " + productId);
} What is the output when a DELETE request is sent to
/products/abc123?