-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
axios方法为put时,提示网络请求错误,请求方法未允许 #3845
Comments
defhttp.get defhttp.post defhttp.delete均可以使用 |
405状态码表示服务器无法处理你请求中指定的方法,跟你前端代码没关系 |
但是后端代码使用postman测试是完全可行的,是我后端代码的问题吗 |
我也是自己写的后端代码测试,postman和项目里axios请求都是可通的,建议你排查一下后端哪里配置出问题了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述 Bug
发送put方式接口请求时,系统提示“网络请求错误,请求方法未允许!” 控制台后台提示错误代码为405
复现 Bug
接口代码
请求后系统提示
控制台错误展示
系统信息
The text was updated successfully, but these errors were encountered: