async function t()
{
await fetch("http://www.luogu.com.cn/api/chat/new", {
headers: [
["content-type", "application/json"],
["referer", "http://www.luogu.com.cn/"],
["x-csrf-token", "xxx"],
],
body: JSON.stringify({
user: 784370,
content: "LUOGU API 测试,这条信息不用回复。",
}),
method: "POST",
});
}
t();