Skip to content

怎么使用 application/json 类型的解析器 #294

@chakson

Description

@chakson

使用 Content-Type: application/x-www-form-urlencoded 可以正常返回数据,
使用 Content-Type: application/json 无法正常解析 req.body 的请求数据,
请问这个要怎么配置

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions