rsnext/docs/api-routes
Balázs Orbán 532a5bcc75
Fix grammar in API routes: Introduction (#19385)
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.
2020-11-24 21:26:02 +00:00
..
api-middlewares.md Docs(api-middlewares): use typings for serialize options from @types/cookie (#17285) 2020-09-22 18:52:29 +00:00
dynamic-api-routes.md change anonymous functions to named in docs examples (#17510) 2020-10-05 21:16:47 +00:00
introduction.md Fix grammar in API routes: Introduction (#19385) 2020-11-24 21:26:02 +00:00
response-helpers.md Update response-helpers.md (#19189) 2020-11-16 13:48:30 +01:00