using the suggested URL here https://wind-bow.gomix.me/ i’m getting a “No ‘Access-Control-Allow-Origin’ header” error. i tried the solution for jQuery users here https://forum.freecodecamp.com/t/use-the-twitchtv-json-api/19541 but i can’t get the suggested addition to the URL to work. same error when using a question mark or ampersand. i’m using pure JS. i’d rather not hardcode the JSON.
any suggestions?
XMLHttpRequest cannot load https://wind-bow.gomix.me/twitch-api/users/noobs2ninjas&callback=?.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'https://s.codepen.io' is therefore not allowed access.
XMLHttpRequest cannot load https://wind-bow.gomix.me/twitch-api/users/noobs2ninjas?callback=?.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'https://s.codepen.io' is therefore not allowed access.
@jenovs You are right, thanks. It was the old version.
I enabled CORS on GET for https://wind-bow.gomix.me/. Would you help me testing it, when you have time ?