Exemplo n.º 1
0
<?php

require "../vendor/autoload.php";
require_once "auto/autoload.php";
/**
 * Find the route we need to take
 */
Flight::route('/@action', function ($action) {
    /**
     * As simple as that! ECHO OUT OUR RESULT!
     */
    echo \NewRetroWave\Api\ApiHandler::Run($_POST, $action);
});
/**
 * Start this controller.
 */
Flight::start();