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. |
||
---|---|---|
.. | ||
advanced-features | ||
api-reference | ||
api-routes | ||
basic-features | ||
migrating | ||
routing | ||
deployment.md | ||
faq.md | ||
getting-started.md | ||
manifest.json | ||
upgrading.md |