Web_Crawler_API/routes/api.php

15 lines
319 B
PHP
Raw Normal View History

2023-05-30 09:56:38 +00:00
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
2023-05-30 12:10:17 +00:00
use GuzzleHttp\Client;
2023-05-30 14:29:46 +00:00
use App\Http\Controllers\WebCrawlController;
2023-05-30 09:56:38 +00:00
2023-05-30 12:10:17 +00:00
2023-05-30 14:29:46 +00:00
// Route::get('/crawl', function (Request $request) {
// // invode WebCrawlController index method
// });
2023-05-30 12:10:17 +00:00
2023-05-30 14:29:46 +00:00
Route::get('/crawl', [WebCrawlController::class, 'index']);