且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Ajax调用了“无法加载资源:按照500的状态的服务器响应”

更新时间:2023-08-21 20:15:34

调出开发者工具在浏览器中,并看一看请求/响应。例如,在Chrome preSS F12调出开发者控制台,前往网络标签。尝试再次致电GetTempData方法。您将看到对应于GetTempData请求,并以红色突出显示网络选项卡中的条目。如果你点击,你就可以看到你的请求和响应的详细信息。

Bring up the developer tools in your browser and take a look at the request / response. For example, in Chrome press F12 to bring up the developer console and head to the Network tab. Try calling your GetTempData method again. You will see an entry in the network tab that corresponds to the GetTempData request and is highlighted in red. If you click on that you will be able to see detailed information about your request and response.

Ajax调用了“无法加载资源:按照500的状态的服务器响应”

心连心