i was trying to pull the information of a twitch website with a XMLHttpRequest method "GET" and it was retrieving successfully the information on the website, but hours later my same exact code stopped working and the XMLHttpRequest getting blocked by CORS policy, does somebody know how i can send a "GET" request to the same website?
const xhr = new XMLHttpRequest
function onLoad () {
console.log(xhr.responseText)
}
xhr.addEventListener("loadend", onLoad);
xhr.open("GET", "https://tmi.twitch.tv/group/user/xqc/chatters")
xhr.send()