Apr 22, 2024Apr 22, 2024 · 1 min read · 19 viewsBasic notes on JavaScript Fetch APIFetch is promise-based, so we should wait for the output // using .then method or await keyword. fetch("https://reqres.in/api/users") .then( response => { response.json().then( data => { con...1 min read · 19 views