I’m not real sure. I pasted this into Chrome’s console on a site and localhost that I know both has JQuery and it works fine.
tnick = 'muddr';
jQuery.ajax({
type: 'GET',
url: 'https://api.twitch.tv/kraken/streams/' + tnick,
headers: {
'Client-ID': 'xxxxxxxxx'
},
success: function (c) {
console.log(c);
}
});
Object {readyState: 1}
Object {stream: null, _links: Object}