操作:var http = require('http');var opts = {hostname: '',path: 's?wd=nodejs',method: 'GET'};http.request(opts, function(res) {// 需要HTTP response callback 写呗})