async function fetch api with headers api key code example
Example: javascript async fetch file html
async function () {
element.innerHTML = await (await fetch('./filetofetch.html')).text();
}
async function () {
element.innerHTML = await (await fetch('./filetofetch.html')).text();
}