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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…