Hi all and good morning,
I’m a little stuck in getting, for an example, the status of the channel. I have the following code and i’m trying without jQuery:
var xhr = new XMLHttpRequest();
xhr.open(‘GET’, ‘https://api.twitch.tv/kraken/channels/freecodecamp’, false);
xhr.send();
console.log(xhr.responseText);
When i check the console, it gives me all the info about the channel, which is great, but now i’m stuck in getting the properties of the response, for example: “status”.
Thanks in advance and happy coding.