
 Martin Barker - 2015-11-16 13:20:26 - 
In reply to message 1 from Zaghdoudi ChokriJust to Clarify this user is just Wrong.
I have downloaded this copy put it onto a clean IIS 10 with PHP 5.6 (only needs PHP 5.3 or newer) extracted this to a folder called test
So on my machine it was at 
localhost/test/
Altered test.php so that the 5th line read 
curl_setopt($ch, CURLOPT_URL,            "http://localhost/test/" );
The Test worked, i then browsed to the URL http://localhost/test/
and got an error expected result 
{"jsonrpc":"2.0","error":{"code":-32601,"message":"Method not found"},"id":""}
I then used https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo 
Sent a Raw POST Payload of
{"jsonrpc":"2.0", "method":"example.ping", "params":["Hello World"], "id":0}
and got exactly what i should have got back.
{"jsonrpc":"2.0","result":"Hello World","id":0}
So ether this user has not Read the information in the package via Readme or even bothered to look at the scripts inside the API or the Text.php that quite clearly has a section that needs to be changed.