Closed SteveCruise closed 7 years ago
koa-better-body
, so not make sense.console.log
at the last middleware console.log(ctx.request.fields)
@tunnckoCore Thank you very very much, I am sorry I am unskilled , at last I choose koa-bodyparser instead. Thank you for your answer. koa-better-body is a great project. If I use it again, I will solve it.
@SteveCruise yea, it's better to use it if you don't need so rich support and more specifically multipart.
koa-better-body is a great project. If I use it again, I will solve it.
I just can't help you with that given snippet and without more info.
My code
I set breakpoint behind
app.use(bodyParser());
, ctx.request.fields is still null.