Response::json(app(Proxy::class)->run($route, 'get'))) ->where('route', '[a-zA-Z0-9\-/]+')->middleware('api'); Route::post('/adrema-api/{route}', fn (string $route) => app(Proxy::class)->submit($route)) ->where('route', '[a-zA-Z0-9\-/]+')->middleware('api');