mirror of
https://github.com/Wessel/wumpfetch.git
synced 2026-07-02 20:53:05 +02:00
7 lines
171 B
JavaScript
7 lines
171 B
JavaScript
const w = require( './createRequest' );
|
|
|
|
;( async() => {
|
|
const r = await w( { url: 'https://aws.random.cat/meow', parse: 'json' } ).send();
|
|
console.log( r.body );
|
|
})();
|