
Google瀏覽器,F12,進入Console
輸入如下代碼
// 按住shfit+Enter,可以下一行繼續,不要直接Enter
var xhr = new XMLHttpRequest(); // 向logout接口發起post請求,是異步的 xhr.open("POST", "/logout", true); xhr.send();

Google瀏覽器,F12,進入Console
輸入如下代碼
// 按住shfit+Enter,可以下一行繼續,不要直接Enter
var xhr = new XMLHttpRequest(); // 向logout接口發起post請求,是異步的 xhr.open("POST", "/logout", true); xhr.send();
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。