Trying to connect an IoT device to Twitch to get stream status

You have something really bad going wrong as it shouldn’t return HTML

It should return JSON normally

image

So that may suggest you have outbound headers doing something weird. Or you are not sending the request you think you are sending?