diff --git a/routes/api.php b/routes/api.php index 79b46f1..b6e3cd1 100644 --- a/routes/api.php +++ b/routes/api.php @@ -10,4 +10,6 @@ use App\Http\Controllers\CurrencyController; |-------------------------------------------------------------------------- */ -Route::get('/currency-rates', [CurrencyController::class, 'getCurrentRates']); \ No newline at end of file +Route::get('/today.json', [CurrencyController::class, 'getCurrentRates']); +Route::get('/currency-rates', [CurrencyController::class, 'getCurrentRates']); +Route::get('/currency-rates/{currencyName}', [CurrencyController::class, 'getCurrencyRateByName']); \ No newline at end of file