Skip to content

Commit

Permalink
Reading request body from Express
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Kotamraju committed Jan 20, 2019
1 parent 592e997 commit 9ce01a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ app.listen(PORT, () => {
});

//Login WebService
app.get('/login', (req, res) => {
app.post('/login', (req, res) => {

console.log(req.body);
res.send('Implementing Login Service');
Expand Down

0 comments on commit 9ce01a8

Please sign in to comment.