stimm4
August 14, 2021, 8:32pm
1
Hi,
I want to get the json return by the URL “https://api.twitch.tv/helix/channels ”.
So by using Curl all is good and the json is return but not when I’m sending the URL in Internet Explorer.
Could you help me please ?
Here the url that I’m sending but didn’t work :
“https://api.twitch.tv/helix/channels?broadcaster_id=88301612&client_id=myClientId&Authorization=Bearer%20myAccessToken ”
Thanks.
Helix doesn’t support passing the token and clientID as query string paramters.
They need to be sent via header. Which you can’t (normally) do via Internet Explorer
You either need a header injector plugin
or to use an API testing program such as Insomnia or postman.
it doesn’t work, as it’s not supported
stimm4
August 15, 2021, 1:01pm
3
Okay i’m starting in web dev and i didn’t know it.
Thanks a lot.
system
Closed
September 14, 2021, 1:02pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.