Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express req body

app.post('/login', (req, res) => {
  console.log(req.body.email) // "user@example.com"
  console.log(req.body.password) // "helloworld"
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #express #req #body
ADD COMMENT
Topic
Name
2+7 =