Answers for "spring 201 created"

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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language