WebAPI 小知识

1。HttpResponseMessage.ReasonPhrase可以返回原因说明短语, 用JQuery中的$.ajax调用,返回函数第三个参数可以获取,如下: success:function(data, status, xhr) { alert("Success: " + xhr.status + " : " + xhr.statusText); }
原文地址:https://www.cnblogs.com/ywkpl/p/4845261.html