Next.js 14 App Router: API route returns 405 Method Not Allowed for POST request, but identical route structure works elsewhere
I have two similar API routes in my Next.js 14 app using the App Router:
I have two similar API routes in my Next.js 14 app using the App Router: