Esempio n. 1
0
 public function testRoutePost()
 {
     Route::post('testing', ['uses' => 'myController@testing']);
 }
Esempio n. 2
0
File: index.php Progetto: getkep/kep
<?php

require_once 'vendor/autoload.php';
use Kep\Routing\Route;
Route::group('v1', function () {
    Route::post('testing', ['uses' => 'MyController@testing']);
    Route::post('gettingstarted', function () {
        // Coding
    });
});