Twitchtv does the url in user story work for version 5 of twitch tv?

I am trying to build a http request for the Twitch tv and trying out the curl -h requests first.
My question is, does the url work with curl requests?

Are we still supposed to use that url? for example,

this worked,
curl -i -H ‘Accept: application/vnd.twitchtv.v5+json’ -H 'Client-ID: ’ ‘

but this does not work,
curl -i -H ‘Accept: application/vnd.twitchtv.v5+json’ -H ‘Client-ID: <myclientid string’ ‘

Can someone help me with a curl call so I can build my http request? Thanks!

hey there,

read this whole thread on all the issues with the TwitchTV challenge -

then do a search on CodePen for freecodecamp twitchtv pens … there are a few working samples similar to your intended code sample

Thanks, I will do this. But very confused now because I did ask the question about the json obj on the user story on gitter in several rooms and one person told me I did not need to use this blob. Also I thought we weren’t supposed to look at other people pens. But I do need some hints because none of my curls or http calls are working yet. Thanks for your feedback.

1 Like