I used rcron.php and api_ticket_create.php and I noticed something strange. For example for rcron.php. I had to modify the url
'url'=>'http://yourdomain.com/support/api/tasks/cron'
to
'url'=>'http://yourdomain.com/support/api/http.php/tasks/cron'
Otherwise if I don't add the 'http.php' the return from curl_exec($ch); is
(.*) Server: Apache X-Powered-By: PHP/5.6 File not found.
I solved the same issue for api_ticket_create.php by also adding http.php
There is many discussions around the error "File not found" I think it could help other people..