Hey everyone, I’m trying to complete the project that involves the Twitchtv JSON API but I’m having trouble getting data from Free Code Camp’s Twitch API Pass-through (https://wind-bow.gomix.me/twitch-api). When I attempt to access data from the /streams/:stream
route, I get the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://wind-bow.gomix.me/twitch-api/streams/freecodecamp. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Has anyone come across this error?
I’m using the fetch
API to make the request.