분류
Nodejs
HTTP Client Utilities.
본문
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); }
- 이전글Couchbase 클라이언트. 19.03.09
- 다음글docsify 19.03.09