CSRF verification has been added after Laravel5.2.
The app/Http/Kernel.php file has the following configuration:
global shutdown
// \App\Http\Middleware\VerifyCsrfToken::class
Partially closed
Open the VerifyCsrfToken class file and find the following:
Suppose your route is /login, just write the route address here, you can skip CSRF verification
as follows I want the route at the beginning of api to not do csrf verification, just add 'api /*' will do.