[Support] 如何解析POST请求Content-Type为text/html的内容? #4029
-
Describe the problem(描述问题)因为要对接一个二维码设备,他们发送的数据格式是text/html,我使用ctx.request.rawBody 或者ctx.request.body都无法获取内容,midwayjs的解析器无法解析text/html吗? Midway Versions(Midway 版本)npx midway-version@latest |
Beta Was this translation helpful? Give feedback.
Answered by
czy88840616
Aug 23, 2024
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不解析非标类型,这个需要自行处理。