Skip to content

What happened to express.text() #6479

@paulhiggs

Description

@paulhiggs

My app was using express.text() with Express v4.21,1 to increase the upload limit for app.post() and was recently updated to support Express v5.1.0

Now I see that express.text() is neither documented in the 5.x API or mentioned as being removed in the Moving to Express 5 guide.

Is it still possible to use express.text() with Express 5 or is there a different / better approach?
It seems that express/lib/express.js still exposes bodyparser.text as express.text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions