From 3575dccf94b8b94251e28126950f187a11ebd2cf Mon Sep 17 00:00:00 2001 From: Marc Beyer Date: Wed, 26 Jan 2022 14:26:47 +0100 Subject: [PATCH] Changed all endpoints to post --- .../main/java/com/vpr/server/controller/UserController.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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();