jquery ajax設置header的兩種方式

1、setting參數 headersajax $.ajax({json     headers: {         Accept: "application/json; charset=utf-8"     },     type: "get",     success: function (data) {     } });app 2、beforeSend方法url $("#test").c
相關文章
相關標籤/搜索