Hi,I’m a newbie.Please forgive me about my bad English.
In my project,when I try to getJSON with url:
https://api.twitch.tv/kraken/search/channels?query=starcraft?client_id=lls1bx3zba72b4sb7b7q…
it not working and i got 400 error but when i try to use curl with format :
curl -H ‘Accept: application/vnd.twitchtv.v5+json’
-H ‘Client-ID: lls1bx3zba72b4sb7b7q…’
-X GET ‘https://api.twitch.tv/kraken/search/channels?query=starcraft’
i successful got response.
Any advice will be appreciated.Thank you.