karlrixon/xbmc-php-rpc — pull request #2 by chaka2828 (2013-06-17 21:58:53+00:00)
Title: Add Content-Type to HTTPClient requests

"Content-Type" is now needed by the API v6 (http://wiki.xbmc.org/index.php?title=Frodo_API_Changes#JSON-RPC_Handler_.2Fjsonrpc)

It fixes the example.php, I did not test further (yet, hopefully)