mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 22:28:02 -08:00
Compare commits
5 Commits
9bf23e636c
...
06b5ae5a8d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06b5ae5a8d | ||
|
|
2aee46f169 | ||
|
|
22977d5ca1 | ||
|
|
a2c99c9674 | ||
|
|
8c82f767ed |
@@ -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`
|
||||
|
||||
@@ -286,7 +286,7 @@ for(dataType item : array) {
|
||||
|
||||
### ACCESS MODIFIERS
|
||||
|
||||
1. defualt(No keyword required)
|
||||
1. default(No keyword required)
|
||||
2. private
|
||||
3. public
|
||||
4. protected
|
||||
|
||||
Reference in New Issue
Block a user