mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-27 13:48:01 -08:00
Compare commits
2 Commits
master
...
54c0eb8cef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54c0eb8cef | ||
|
|
8c82f767ed |
@@ -134,7 +134,7 @@ app.use('<admin dir>', admin)`; `// Mounting a sub - app`
|
|||||||
|
|
||||||
`app.put('/', function(req,res){
|
`app.put('/', function(req,res){
|
||||||
res.send('PUT request to a webpage')
|
res.send('PUT request to a webpage')
|
||||||
})` `// post request to the specified path`
|
})` `// put request to the specified path`
|
||||||
|
|
||||||
`app.delete('/', function(req,res){
|
`app.delete('/', function(req,res){
|
||||||
res.send('DELETE request to a webpage')
|
res.send('DELETE request to a webpage')
|
||||||
|
|||||||
Reference in New Issue
Block a user