532a5bcc75
For an API route to work, you need to `export as default a function` (a.k.a **request handler**), which then receives the following parameters: For an API route to work, you need to `export a function as default` (a.k.a **request handler**), which then receives the following parameters: I might be wrong though (not a native English speaker), it just sounds strange to my ears. |
||
---|---|---|
.. | ||
api-middlewares.md | ||
dynamic-api-routes.md | ||
introduction.md | ||
response-helpers.md |