$.ajax({ type: "GET", url: "https://upload.cnblogs.com/imageuploader/upload?host=www.cnblogs.com&editor=0", xhrFields: { withCredentials: true // 携带跨域cookie }, processData: false, success: function(data) { console.log(data); } });
$.ajax({ type: "GET", url: "https://upload.cnblogs.com/imageuploader/upload?host=www.cnblogs.com&editor=0", xhrFields: { withCredentials: true // 携带跨域cookie }, processData: false, success: function(data) { console.log(data); } });