nodejs 同步request
npm isntall sync-request
var request = require(‘sync-request‘);
var res = request(‘GET‘, ‘http://www.baidu.com‘);
console.log(res.getBody().toString());
2021-08-30 03:22:38
nodejs 同步request
npm isntall sync-request
var request = require(‘sync-request‘);
var res = request(‘GET‘, ‘http://www.baidu.com‘);
console.log(res.getBody().toString());