mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-27 05:38:01 -08:00
Merge 8c82f767ed into 88e5be6e4b
This commit is contained in:
@@ -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')
|
||||
@@ -223,4 +223,4 @@ res.sendFile(file, options, function(err){
|
||||
app.use(BodyParser.json())
|
||||
app.use(BodyParser.urlencoded({
|
||||
extended: true
|
||||
}))` `// Parses incoming request bodies`
|
||||
}))` `// Parses incoming request bodies`
|
||||
|
||||
Reference in New Issue
Block a user