Expresse corpo postal
app.use(express.json());
// ...
app.post('/test-page', function(req, res) {
var name = req.body.name,
color = req.body.color;
// ...
});
GutoTrosla