just listen to it. Only before 30 minutes did I encounter the same problem. Now he has decided. just try this.
Goto App โ HTTP-> Kernel
open the kernel file.
there you can see: \ App \ Http \ Middleware \ VerifyCsrfToken :: class,
just disable this specific code using //
It! It will work!
So that you can remove the middleware from the API call (if you want it).
Sunil
source share