Query Strings in API Routes Causes CORs to Fail – Laravel
I’m using Sanctum for authentication on Next.js. Some of my GET requests to Laravel were working fine, but others were failing due to CORS error:
Query Strings in API Routes Causes CORs to Fail – Laravel
I’m using Sanctum for authentication on Next.js. Some of my GET requests to Laravel were working fine, but others were failing due to CORS error: