// клиент
function but() {
var xhr = new XMLHttpRequest();
xhr.open( 'POST', '/ajax' );
xhr.setRequestHeader( 'Content-type', 'application/x-www-form-urlencoded' );
xhr.send( 'field=value' );
}
// сервер
app.use( bodyParser.json(), bodyParser.urlencoded({ extended: true }) );
app.post( '/ajax', function (req, res) {
console.log( req.body );
});