Changed all endpoints to post
This commit is contained in:
parent
8f04ac7ae8
commit
3575dccf94
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user