Update ApiController.php and update Readme.md