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);
|
return new ResponseEntity<>( "", HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************
|
@PostMapping(path = "/all")
|
||||||
* GET-ENDPOINTS *
|
|
||||||
*****************/
|
|
||||||
|
|
||||||
@GetMapping(path = "/all")
|
|
||||||
public @ResponseBody
|
public @ResponseBody
|
||||||
ResponseEntity<String> getAllUser() {
|
ResponseEntity<String> getAllUser() {
|
||||||
List<User> userList = userDAO.getAllUser();
|
List<User> userList = userDAO.getAllUser();
|
||||||
|
Loading…
Reference in New Issue
Block a user