https://github.com/hapijs/wreck
const Wreck = require('wreck'); const example = async function () { const { res, payload } = await Wreck.get('http://example.com'); console.log(payload.toString()); }; try { example(); } catch (ex) { console.error(ex); }
등록된 댓글이 없습니다.