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

Javascript – Visual Studio code debugging

I am trying to debug javascript code in visual studio code but it gives me the following error Could not read source map for chrome-error://chromewebdata/: Unexpected 503 response from chrome-error://chromewebdata/edge-elixir-neterror.rollup.js.map: Unsupported protocol "chrome-error:" the launch.json file has foll configurations {…

VIEW QUESTION
Back To Top
Search