Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how ot send user agent in nodejs https header

http.get({ url: 'http://www.panda.tv/ajax_chatinfo?roomid=89757',
    agent: 'Mozilla/5.0' }, function(res) {
    res.on('data', function(chunk) {
        doSomething();
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ot #send #user #agent #nodejs #https #header
ADD COMMENT
Topic
Name
1+8 =