fix: DELETE en POST endpoints toegevoegd
This commit is contained in:
parent
400a955850
commit
8c7d5e965c
6 changed files with 17 additions and 5 deletions
|
@ -17,6 +17,8 @@ router.get('/', getAllStudentsHandler);
|
|||
|
||||
router.post('/', createStudentHandler);
|
||||
|
||||
router.delete('/', deleteStudentHandler);
|
||||
|
||||
router.delete('/:username', deleteStudentHandler);
|
||||
|
||||
// Information about a student's profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue