mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Added information about body and files to request docs
These paths to body and files differ from Koa's typical pathing, adding them to the docs temporarily until the docs are reworked. Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
This commit is contained in:
parent
c05dcec622
commit
a5a48d8348
@ -4,6 +4,8 @@
|
||||
|
||||
The context object (`ctx`) contains all the requests related information. They are accessible through `ctx.request`, from [controllers](controllers.md) and [policies](policies.md).
|
||||
|
||||
Strapi passes the `body` on `ctx.request.body` and `files` through `ctx.request.files`
|
||||
|
||||
For more information, please refer to the [Koa request documentation](http://koajs.com/#request).
|
||||
|
||||
## Responses
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user