hoàn thành tích hợp FSRS

This commit is contained in:
2026-04-26 19:31:29 +07:00
parent a573acedd0
commit 8459801ca9
33 changed files with 997 additions and 185 deletions
+24
View File
@@ -0,0 +1,24 @@
const http = require('http');
const data = JSON.stringify({
spaceId: null,
onlyDue: false,
});
const req = http.request({
hostname: 'localhost',
port: 3000,
path: '/api/pages/review-list',
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Content-Length': data.length,
// We need auth headers, maybe I can't easily test without a token
}
}, (res) => {
let body = '';
res.on('data', chunk => body += chunk);
res.on('end', () => console.log(body));
});
req.write(data);
req.end();