Answers for "spring return 201"

0

spring boot return 201 created

@RequestMapping(value = "/exception", method = RequestMethod.GET)
@ResponseBody
public ResponseEntity sendViaException() {
    throw new ForbiddenException();
}
Posted by: Guest on July-14-2021

Code answers related to "spring return 201"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language