- All POST/PUT/DELETE/PATCH endpoints are protected by JWT's
POST
mods- Allows the user to add a new module category by passing though
name
in the request body. POST
people- Allows the user to add a new peson to a specific mod by passing though
gender
,age
,race
andmod_id
in the request body. DELETE
mods/:id- Allows the user to delete an existing module category by passing though the module ID in the request body.
DELETE
people/:id- Allows the user to delete an existing person by passing though the persons ID in the request body.
PATCH
mods/:id/edit- Allows the user to update an existing module name by passing
name
in the request body.