1、用node自带的http模块请求
var http = require('http');
var options = {};
//最终请求地址
options.path = 'http://proxy.com/path?' + qs.stringify(querystringObjcet);
//这里代理到fiddler
options.host = '127.0.0.1';
options.port = 8888;
http.request(options, callback);
2、用superagent模块请求
var request = require('superagent');
request.get('127.0.0.1:8888/path' + qs.stringify(querystringObjcet))
.set('Host', 'proxy.com')
.end(calback);