fetch
XMLHttpRequest
const result = await fetch(url).then(res => res.json());fetch(url, {
credentials: 'include'
}).then(res => res.json());Last updated
const result = await fetch(url).then(res => res.json());fetch(url, {
credentials: 'include'
}).then(res => res.json());Last updated