Skip to content

[Suggestion] Automatically parse request body based on content type #54

@YassienW

Description

@YassienW

I'm not sure if there is a convenient way to do this or not, but it would be very handy if requests could be automatically parsed based on the content-type header. Right now the content-type header is pretty much useless in mirage's context, unless it's implemented manually in all the routes that require it.

Perhaps an API to add middle-ware to run on all requests would make something like this easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions