[英]This page isn’t working Error in deploying my API on Azure and IIS ? while its correctly working on localhost
405 errors are generally confusing Get and Post requests. 405 错误通常会混淆 Get 和 Post 请求。 Please try to use the Postman tool and use Post to request this api.请尝试使用 Postman 工具并使用 Post 请求此 api。
This page isn't working Error in deploying my API on Azure and IIS ?此页面不起作用 在 Azure 和 IIS 上部署我的 API 时出错? while its correctly working on localhost虽然它在本地主机上正常工作
According to your description, the problem should not be related to Azure App Service or IIS.根据您的描述,问题应该与 Azure App Service 或 IIS 无关。
General troubleshooting steps:一般故障排除步骤:
Determine whether the home page can be accessed normally or the api that accepts Get requests.判断首页是否可以正常访问或者接受Get请求的api。
If it can be accessed normally, then the request type of the interface may be wrong.如果可以正常访问,那么可能是接口的请求类型不对。
If that doesn't work, open EventViewer to view the logs.如果这不起作用,请打开 EventViewer 以查看日志。 It is also possible to set stdoutlogenabled=true .也可以设置stdoutlogenabled=true 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.