Laravel Dingo API -Antwort
$api = app('Dingo\Api\Routing\Router');
$api->version('v1', function ($api) {
$api->post('user/register', 'App\Api\v1\Controllers\UserController@register');
$api->get('get-project/{api_token}/{responsible}', 'App\Api\v1\Controllers\ProjectController@single');
$api->get('status-script-project/{api_token}/{number}/{status_code?}', 'App\Api\v1\Controllers\ProjectController@setStatusScript');
});
calyCoder