Created
November 26, 2019 11:53
-
-
Save myogeshchavan97/ecdc25d4022ddfa8fada402f338a71eb to your computer and use it in GitHub Desktop.
Post Route
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.post('/users', (req, res) => { | |
users.push(req.body); | |
res.send(users); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment