I upgraded my Laravel project from version 5.8
to 6
and some ajax calls are now broken. I'm attaching the screenshot of the error I'm facing related to ajax call using jquery below.
My hunch is that it's not related to csrf token because I've excluded these requests from VerifyCsrfToken middleware (using except array) code below:
protected $except = [
'/get-post-data',
'/get-post-count',
'/get-post-data',
];
Php version: 7.2.34
OS: Ubuntu 20.04
Could you please help me to solve this error? I can also provide more information if required. Thanks a thousand times.