const https = require('https');
var options = {
hostname: 'vk.com',
path: '/',
method: 'POST'
};
var req = https.request(options, (res) => {
console.log('statusCode: ', res.statusCode);
console.log('headers: ', res.headers);
res.on('data', (d) => {
});
});
req.end();
req.on('error', (e) => {
console.error(e);
});