Web_Crawler_API/routes/api.php

15 lines
No EOL
319 B
PHP

<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use GuzzleHttp\Client;
use App\Http\Controllers\WebCrawlController;
// Route::get('/crawl', function (Request $request) {
// // invode WebCrawlController index method
// });
Route::get('/crawl', [WebCrawlController::class, 'index']);