NodeJS post req akceptuj dane formularza

var express = require('express');
var bodyParser = require('body-parser');
var app = express();

app.get('/', function(req, res){
   res.render('form');
});

// for parsing application/json
app.use(bodyParser.json()); 

// for parsing application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: true })); 

app.post('/', function(req, res){
   console.log(req.body);
   res.send("recieved your request!");
});

app.listen(3000);
adreaskar