PS
Size: a a a
PS
SM
PS
SM
PS
SM
SM
PS
PS
app.use(bodyParser({multipart: true}));
app.use(json());
SM
AT
SM
А
AT
SM
SM
PS
app.use(bodyParser());
app.use(async ctx => {
// the parsed body will store in ctx.request.body
// if nothing was parsed, body will be an empty object {}
ctx.body = ctx.request.body;
});
SM
app.use(bodyParser());
app.use(async ctx => {
// the parsed body will store in ctx.request.body
// if nothing was parsed, body will be an empty object {}
ctx.body = ctx.request.body;
});
AT
IK