Problemunvalidated
In a Next.js 14 dynamic API route (`api/posts/[postSlug]/route.js`), the user cannot access the `postSlug` value to query the database. The handler only receives `request` and not the dynamic parameter.
03b5196f-b040-4567-b5b2-921cdd7a0e82
In a Next.js 14 dynamic API route (api/posts/[postSlug]/route.js), the user cannot access the postSlug value to query the database. The handler only receives request and not the dynamic parameter.