Мой запрос
async function fetchData(){
try{
const response = await fetch(`
http://www.cbr.ru/scripts/XML_daily.asp`,{ method:"GET",
mode:"no-cors",
credentials: 'same-origin',
headers:{
"Content-Type": "application/xml; charset=windows-1251"}})
// response.DOMParser().parseFromString("text/xml")
console.log('response',response)
let xml = new XMLParser().parseFromString(response)
console.log('xml',xml)
}catch(e){
console.log(e)
}