это мои маршруты/api.php:
Код: Выделить всё
Route::prefix('v1')->name('v1.')->group(function() {
Route::get('continent', function() {
return 'get all continents';
});
});
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/78701368/how-to-access-rest-api-in-laravel-10[/url]
Мобильная версия