Get Channel Subscribers Result Problem

Hi, i’m having a little problem checking subscriptions.

Result; ���yZ�1�0����8�}@cI%ZPh4�]o�a�L G�%����M z��9�C�a,�3�kҍX��s5(�Β��ll��=���1��AY
My code;

Thanks.

Decode gzip.

Did i miss something? Or why is the result in gzip randomly?

EDIT:
oooh, even if i add the .Headers(“Accept”) = “application/vnd.twitchtv.v5+json” i should have also added the .Headers(“Content-Type”) = “application/json”

Result photo;

You got a GZIP compressed result.

Enable GZIP compression using whatever library you are using.

Usually when you get GZIP compressed result, it turns out to be a 401, and you don’t have permission to get that end point

curl_setopt($ch,CURLOPT_ENCODING , “gzip”);

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