I wrote up a library to deal with Everything on the documented API. https://github.com/IBurn36360/Twitch_Interface You can use any of the functions written in there as an example of how to perform the calls (In your case, look at cURL_post for more information). Hope it helps and if you find any issues, please reply here or open an issue on the git.
- Anthony ‘IBurn36360’ Diaz