//don't forget the "/" in the route targeted URL : app.put("/collection/:id", (req, res)=>{ //route content })