@@ -19,13 +19,11 @@ API routes provide a straightforward solution to build your **API** with Next.js
Any file inside the folder `pages/api` is mapped to `/api/*` and will be treated as an API endpoint instead of a `page`. They are server-side only bundles and won't increase your client-side bundle size.
For example, the following API route `pages/api/user.js`handles a `json` response:
For example, the following API route `pages/api/user.js`returns a `json` response with a status code of `200`: