Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
303 views
in Technique[技术] by (71.8m points)

前端如何解决状态码为406错误?

在登录模块中点击登录的时候,报406的错误,前端如何解决呢???


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

这个,你抓包下你的请求中的 Accept 和 响应中的 Content-Type 看下,是你 Accept 写错了,还是后端返回的 Content-Type 设置错了..

https://blog.csdn.net/weixin_...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...