curl_setopt_array($curl, array(
CURLOPT_HTTPHEADER => array(
'Client-ID: ' . $clientId,
'Accept: application/vnd.twitchtv.v5+json'
),
It’s a header so should be sent as a header like you do with the clientID
curl_setopt_array($curl, array(
CURLOPT_HTTPHEADER => array(
'Client-ID: ' . $clientId,
'Accept: application/vnd.twitchtv.v5+json'
),
It’s a header so should be sent as a header like you do with the clientID