Skip to content

Instantly share code, notes, and snippets.

@ilyasozkurt
Created September 24, 2021 08:35
Show Gist options
  • Save ilyasozkurt/f1a1f8ed0ebdd353e6d17b03c35ad379 to your computer and use it in GitHub Desktop.
Save ilyasozkurt/f1a1f8ed0ebdd353e6d17b03c35ad379 to your computer and use it in GitHub Desktop.
<?php
use App\Http\Controllers\EarthquakeController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::get('/', [EarthquakeController::class, 'index']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment