Hello, is there any way to go via http proxy?
Could you give an example?
var superagent = require('superagent')
, host = 'github.com'
, path = '/visionmedia/superagent/issues/204'
, proxy = 'http://address:port'; // replace this
superagent
.agent()
.get(proxy + path)
.set('Host', host)
.end(function(r) {
// parse result
});
i tried above with Charles Web Debugging Proxy, does not work, any solution? Thanks
Most helpful comment
i tried above with Charles Web Debugging Proxy, does not work, any solution? Thanks