-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
【taro:4.0.8】post请求无法修改request header的content-type,始终显示text/plan #17155
Comments
@chenEdgar 你这是设置的请求头为application/json |
你说的对。已经更改了描述,并附上图 |
This was referenced Jan 11, 2025
已解决 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
浏览器版本: Version 131.0.6778.205 (Official Build) (x86_64)
使用框架: React
复现步骤
发送POST请求
期望结果
request header的content-type为 'application/json'
实际结果
content-type为text/plain
环境信息
The text was updated successfully, but these errors were encountered: