diff --git a/server/src/main/java/com/vpr/server/controller/UserController.java b/server/src/main/java/com/vpr/server/controller/UserController.java index 1426412..a01a4f1 100644 --- a/server/src/main/java/com/vpr/server/controller/UserController.java +++ b/server/src/main/java/com/vpr/server/controller/UserController.java @@ -145,11 +145,7 @@ public class UserController { return new ResponseEntity<>( "", HttpStatus.OK); } - /***************** - * GET-ENDPOINTS * - *****************/ - - @GetMapping(path = "/all") + @PostMapping(path = "/all") public @ResponseBody ResponseEntity getAllUser() { List userList = userDAO.getAllUser();