twitchdev / extensions-hello-world

The Simplest Extension in the (Hello) World
Apache License 2.0
177 stars 85 forks source link

curl command in docs #7

Closed Chris-Cunningham closed 6 years ago

Chris-Cunningham commented 6 years ago

I am not very familiar with curl, but the curl command given in the readme is

curl -H 'Client-ID: <client id>' -X GET 'https://api.twitch.tv/helix/users?login=<owner name>'

This format did not work for me (newbie, on Windows) and the following format did, with double quotes for the header and no quotes at all for the actual url.

curl -H "Client-ID: <client id>" -X GET https://api.twitch.tv/helix/users?login=<owner name>

I don't know if this is just a typo in the readme (in which case I would have just tried to fix it) or if it depends on platform. Just trying to save future versions of me a little speedbump.

Tenchumaru commented 6 years ago

This was addressed in commit 0de5b7f.