2023-05-30 09:56:38 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
use Illuminate\Support\Facades\Route;
|
2023-05-30 14:29:46 +00:00
|
|
|
use App\Http\Controllers\WebCrawlController;
|
2023-05-30 09:56:38 +00:00
|
|
|
|
2023-05-31 10:17:19 +00:00
|
|
|
Route::get('/crawl', [WebCrawlController::class, 'crawlWebsite']);
|
|
|
|
Route::get('/', [WebCrawlController::class, 'index']);
|
|
|
|
Route::delete('/crawl/{id}', [WebCrawlController::class, 'destroy']);
|
|
|
|
Route::delete('/crawl', [WebCrawlController::class, 'destroyAll']);
|