Spring Boot - REST Controllers
How can you modify a
@RestController method to return HTTP status 201 Created along with the response body?@RestController method to return HTTP status 201 Created along with the response body?ResponseEntity allows setting both body and status code explicitly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions