Node Make HTTP Request using proxy
//make use of proxy package to make calls
var request = require('request');
var r = request.defaults({'proxy':'http://127.0.0.1:8888'})
r('https://demo003.service-now.com/stats.do', function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body) // Print the body of the response
}
})