I see an example when he deletes the id is put in the url, as follows
router.delete("/:id",function(req,res){})
but you do put it in req.body when you update it, as follows
router.update("/",function(req,res){
//req.body._id
})
Why is this? Are there any specific rules?
where should I put id if I want to use get and post?