Created
November 7, 2017 05:28
-
-
Save LarryLuTW/9d189b35968177c8b60d420f249d3d29 to your computer and use it in GitHub Desktop.
syntax-highlight
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('/api/item', (req, res) => { | |
console.log(req.body) | |
res.send(`${req.body.id} in body`) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment