Update and rename example.php to api-example.php