-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
koa@next doesn't support text #52
Comments
+1 having same issue const koa = require("koa");
const bodyparser = require("koa-bodyparser");
const router = require("koa-router")();
const app = new koa();
app.use(bodyparser());
router.post("/users", function(ctx: any) {
console.log(ctx.request.body);
});
app
.use(router.routes())
.use(router.allowedMethods());
app.listen(3000); request headers: console outputs: |
There is a Pull Request here i think: 05bf90e |
3.2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/koajs/bodyparser/blob/next/index.js
It doesn't support
['text']
The text was updated successfully, but these errors were encountered: