0๐
I made it in VerifyCsrfToken.php Middleware:
class VerifyCsrfToken extends Middleware
{
protected $except = [
'api/*',
];
}
and all routes I trasformed from /presenze/* in /api/*
Now it works fine.
I think it need to be called with the standard /api/ prefix โฆ I think.
Do you know another explanation? If anyone knows, your intervention is welcome.
Source:stackexchange.com