Changed all endpoints to post

This commit is contained in:
Marc Beyer 2022-01-26 14:26:47 +01:00
parent 8f04ac7ae8
commit 3575dccf94

View File

@ -145,11 +145,7 @@ public class UserController {
return new ResponseEntity<>( "", HttpStatus.OK);
}
/*****************
* GET-ENDPOINTS *
*****************/
@GetMapping(path = "/all")
@PostMapping(path = "/all")
public @ResponseBody
ResponseEntity<String> getAllUser() {
List<User> userList = userDAO.getAllUser();