Where can you inject authentication checks on an API request?

Technology CommunityCategory: LaravelWhere can you inject authentication checks on an API request?
VietMX Staff asked 3 years ago

Middleware provide a convenient mechanism for filtering HTTP requests entering your application. For example, Laravel includes a middleware that verifies the user of your application is authenticated.