Bagaimana OT mengirim agen pengguna di header https nodejs
const options = {
hostname: 'www.panda.tv',
path: 'ajax_chatinfo?roomid=89757',
headers: { 'User-Agent': 'Mozilla/5.0' }
};
http.get(options, function(res) {
res.on('data', function(chunk) { console.log(chunk) });
});
Vast Vulture