Got these info out of curl_getinfo() and it seems like nothing has been sent to the API.
'url' => <small>string</small> 'https://id.twitch.tv/oauth2/token' *(length=33)*
'content_type' => null
'http_code' => <small>int</small> 0
'header_size' => <small>int</small> 0
'request_size' => <small>int</small> 0
'filetime' => <small>int</small> -1
'ssl_verify_result' => <small>int</small> 20
'redirect_count' => <small>int</small> 0
'total_time' => <small>float</small> 0.352456
'namelookup_time' => <small>float</small> 0.002892
'connect_time' => <small>float</small> 0.17586
'pretransfer_time' => <small>float</small> 0
'size_upload' => <small>float</small> 0
'size_download' => <small>float</small> 0
'speed_download' => <small>float</small> 0
'speed_upload' => <small>float</small> 0
'download_content_length' => <small>float</small> -1
'upload_content_length' => <small>float</small> -1
'starttransfer_time' => <small>float</small> 0
'redirect_time' => <small>float</small> 0
'redirect_url' => <small>string</small> '' *(length=0)*
'primary_ip' => <small>string</small> 'XX.XX.XXX.XXX' *(length=13)*
'certinfo' => **array** *(size=0)* *empty*
'primary_port' => <small>int</small> 443
'local_ip' => <small>string</small> 'XXX.XXX.XX.XX' *(length=12)*
'local_port' => <small>int</small> 52586`