Created
October 11, 2017 16:52
-
-
Save rbren/af3b7b09025cebeb86288e2323efd7af to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let app = require('express')(); | |
app.use(require('body-parser').urlencoded()); | |
app.post('/contact', function(req, res) { | |
console.log('new message', req.body); | |
}); | |
app.listen(3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment