Create rest.php