Open SJarno opened 2 years ago
Check the use of responseEntity and/or responseStatus in controllers.
Response exceptions:
https://www.baeldung.com/spring-response-status-exception
Response status:
https://www.baeldung.com/spring-response-status
Response entities:
https://www.baeldung.com/spring-response-entity https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/ResponseEntity.html
When to user Response Status and Response Entity:
https://stackoverflow.com/questions/26549379/when-use-responseentityt-and-restcontroller-for-spring-restful-applications
Check the use of responseEntity and/or responseStatus in controllers.