Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs fetch

import fetch from 'node-fetch';

const response = await fetch('https://github.com/');
const body = await response.text();

console.log(body);
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #nodejs #fetch
ADD COMMENT
Topic
Name
3+8 =