Answer the question
In order to leave comments, you need to log in
How to deny access to some requests in api in laravel?
Hello!
Maybe I do not quite understand, but how can I deny access to some api requests.
Those. let's say I have this api.php
Route::apiResource('products',ProductsController::class);
Route::apiResource('cart',CartController::class);
Route::apiResource('admin',AdminController::class);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question