Change the status code of the api, rename api.php to index.php