spy-debugger/test/testClientRequest.js
2016-03-16 13:27:40 +08:00

17 lines
276 B
JavaScript

const http = require('http');
console.log(11);
var client = new http.ClientRequest({
protocol: 'http:',
hostname: '192.168.1.103',
method: 'GET',
port: '56047',
path: '/target/target-script-min.js'
}, (res) => {
console.log(res);
});
client.end();