Yngvarr

Generation

generate functionSat, 11 Feb 2023

get url

const getUrl = (url) => { const request = new Request(url, { method: 'GET', cache: 'default' }); fetch(request).then(res => res.json()).then(res => console.log(res)); } getUrl('https://api.github.com/users/jacky99')

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant