I am unable to replicate the issue:
Testing from a SSL’ed and a not SSL’ed host in Chrome console with the following call:
fetch(
'https://api.twitch.tv/kraken/videos/SOMEID',
{
headers: {
'client-id': 'SOMECLIENTID'
}
}
)
.then(resp => { return resp.json() })
.then(resp => { console.log(resp) })
.catch(err => { console.log(err) });
Correctly fetched and logged a video Response
No CORS error occurred