Spring Boot - Request and Response Handling
Examine this Spring Boot controller method:
What is the issue with this code?
public ResponseEntitygetStatus() { return ResponseEntity.ok() .body("Success") .header("X-Status", "OK"); }
What is the issue with this code?
