adding base of JSON API for others to consume
This commit is contained in:
6
routes/api.php
Normal file
6
routes/api.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\Api\WeatherController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/{period?}', [WeatherController::class, 'index'])->name('api.weather');
|
||||
Reference in New Issue
Block a user