skip to Main Content

Javascript – 'Access to fetch has been blocked by CORS policy' Error while trying to send GET request using chrome extension

let link = https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/? key=XXXXXXXXXX&steamids=764564564575656 fetch(link) .then(resp => { resp.json() }) .then(data=> { console.log(data) }) I am trying to develop chrome extension that gets data from specific website and sends get request to an API, I have this problem when…

VIEW QUESTION
Back To Top
Search