How to pass an access token type Bearer in URL

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

Okay i’m starting in web dev and i didn’t know it.
Thanks a lot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.