//just for me lol... pls don't delete
"middleware" - code that runs before the final route call back.
They are in the middle of the beginning of the route and the
callback function.
// What is a middleware
"middleware" - a software glue that bridges gaps between applications.
, PostController::class)->middleware('auth:api');
Middleware is software that provides common services and capabilities to
applications outside of what’s offered by the operating system.
Data management, application services, messaging, authentication, and
API management are all commonly handled by middleware.
// Assigning Middleware To Routes
Route::get('admin/profile', ['middleware' => 'auth', function(){}]);
Code Example |
---|
Javascript :: react native text style example |
Javascript :: |
Javascript :: |
Javascript :: js get english alphabet |
Javascript :: |
:: |
:: |
:: check / unchecked a checkbox with jQuery |
Javascript :: |
Javascript :: |
Javascript :: |
:: |
Javascript :: how to add base url as src in react native |
Javascript :: Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. |
:: |
:: comments js |
:: |
:: ReactJS Axios Delete Request Code Example |
:: |
:: |
:: |
Javascript :: get results from db and put in javascript array codeigniter |
:: |
:: jquery 3.6.0 |
:: |
Javascript :: how to add to an array js |
Javascript :: delete a label jquer |
:: datatable index column server side |
:: |
:: |