``` app.get('/todo/get', get); app.put('/todo/new', create); app.post('/todo/update', update); app.post('/todo/delete', del); ``` Should it be this? ``` app.get('/todo/:id', get); app.put('/todo/:id', update); app.post('/todo', create); app.delete('/todo/:id', del); ``` Just curious why the weird endpoints and swap of post vs. put handling.
Should it be this?
Just curious why the weird endpoints and swap of post vs. put handling.