开发者

how to check error in json means 500 error in asp.net mvc

when i send json. it may be 开发者_开发技巧have something wrong. server does not accept request and give error 500 even i seding a json he return a error page in json. how i can check that i have 500 error in json when as result after my json is gone to server.

how i can check that server return 500 error i am talking about .NET


according to the docu

error(XMLHttpRequest, textStatus, errorThrown)

docu

and you need the enum-members of textStatus, which can be found here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜