Update express.js

This commit is contained in:
lucatolton
2023-07-05 20:57:22 +01:00
committed by GitHub
parent 5ff48033e1
commit 8c82f767ed

View File

@@ -134,7 +134,7 @@ app.use('<admin dir>', admin)`; `// Mounting a sub - app`
`app.put('/', function(req,res){
res.send('PUT request to a webpage')
})` `// post request to the specified path`
})` `// put request to the specified path`
`app.delete('/', function(req,res){
res.send('DELETE request to a webpage')