I have a question regarding Next 13.4. Since today I can only use Next 13.4. I wonder where the api folder has gone. It is no longer created in this version. It still worked in 13.3. How can I now make a POST or GET request and the result with NextResponse return?
>Solution :
Short answer: There isn’t.
With 13.4 the Next Team released the app directory as stable. So probably you used this feature while setting up your project. Here a link to the NextJS Blog related to the release.
While reading through the official Docs I stumbled uppon this Information.
In short: That’s the equivalent to the API Routes in the pages directory.