2016年11月7日星期一

ajax

$.ajax({
    accepts: {
        xxx: "application/xxx"
    },
    dataType: "xxx",
    type: "get",
    success: function (data) {
    }
});

$.ajax({
    headers: {
        Accept: "application/json; charset=utf-8"
    },
    type: "get",
    success: function (data) {
    }
});

没有评论:

发表评论