rest

代码片段:REST客户端JS

function httpsRequest (method, data, options, callback) {console.log('Request path=', options.host + ':' + options.port + options.path)options.method = methodoptions.rejectUnauthorized = f