跳到正文

剪贴板

剪贴板 lh5kfoty

原文
剪贴板信息

剪贴板信息

收录
更新

luogu api 模板

JavaScript
fetch("https://www.luogu.com.cn/api/chat/new", {
        headers: [
            ["content-type", "application/json"],
            ["referer", "https://www.luogu.com.cn/"],
            ["x-csrf-token", document.querySelector("meta[name=csrf-token]").content],
        ],
        body: JSON.stringify({
            user: 1063789,
            content: "IAKIOI",
        }),
        method: "POST",
    });