且构网

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

找不到与请求URI匹配的HTTP资源

更新时间:2021-11-23 21:38:42

更改您的JS参数DocumentId以匹配您的控制器ID.

Change your JS param DocumentId to match your controller id.

$.ajax({
  type: "GET",
  //"Document/GetByReview?reviewId=" + that.selectedReview.ReviewId;
  url: constants.serviceUrl + "Document/GetFileContents?id=" + docId,
  contentType: "application/json; charset=utf8",
});