=== API 测试 ===

测试1:直接访问API
API URL: https://bbirsaxi.s1.myws.ca/api.php
<br />
<b>Warning</b>:  Undefined variable $header_size in <b>/mnt/sda1/www/2026/test_api.php</b> on line <b>37</b><br />
HTTP状态码: 200
<br />
<b>Warning</b>:  Undefined variable $headers in <b>/mnt/sda1/www/2026/test_api.php</b> on line <b>58</b><br />
响应头:

响应体前500字符:
{
    "backup_files": {
        "webpages.db": {
            "md5": "c1b6e9d17475d3e60afebb7016c10ee2",
            "size": 24576,
            "backup_time": "2026-01-26 14:13:38",
            "timestamp": 1769408018
        }
    },
    "error_files": [
        {
            "file": "",
            "error": "缺少必要参数",
            "time": "2026-01-26 14:13:06",
            "timestamp": 1769407986
        },
        {
            "file": "",
            "error": "缺少必要参数",
 

测试2:检查JSON有效性
✅ 是有效的JSON

测试3:上传功能测试
HTTP状态码: 403
响应体前500字符:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>