1 year ago

#75199

test-img

user12086208

exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' even when route is presennt in route:list

I'm getting following error

exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException'

I have tried following commands

php artisan cache:clear
php artisan route:cache

Used route is listed in route:list. still getting error

Route is as follows

Route::post('roles/{role}/update-permissions', 'PermissionController@assignPermissions')->name('role.update-Permissions');

List is showing api/v1/admin/roles/{role}/update-permissions | role.update-Permissions | App\Modules\User\Http\Controllers\PermissionController@assignPermissions

I'm calling this url api/v1/admin/roles/1/update-permissions

php

laravel

routes

laravel-8

0 Answers

Your Answer

Accepted video resources