You cannot use headers without CORS, which the Twitch API doesn’t support. You will need to instead use querystring parameters, like oauth_token, client_id, and api_version.
You cannot use headers without CORS, which the Twitch API doesn’t support. You will need to instead use querystring parameters, like oauth_token, client_id, and api_version.