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
+23
View File
@@ -0,0 +1,23 @@
const http = require('http');
const data = JSON.stringify({
pageId: '019dc96c-5f1b-7391-bd1e-1909fa793761',
quality: 1
});
const req = http.request({
hostname: 'localhost',
port: 3000,
path: '/api/pages/review',
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Content-Length': data.length
}
}, (res) => {
let body = '';
res.on('data', chunk => body += chunk);
res.on('end', () => console.log('Status:', res.statusCode, 'Body:', body));
});
req.write(data);
req.end();