I’m trying to test out some of the basic examples that are listed on https://dev.twitch.tv/docs/api and I’m having some issues with getting the cURL commands to work. I’m running a command like this:
curl -H 'Client-ID: my_client_id' -X GET 'https://api.twitch.tv/helix/streams?user_login=bobross'
and unfortunately all I keep getting in return is:
curl: (6) Could not resolve host: my_client_id’
curl: (6) Could not resolve host: 'https
I have tested the same command on https://onlinecurl.com/ and it’s worked fine, so I know that it’s something on my end that’s wrong, I’m just not sure what.
Any help would be appreciated.