=== API 测试 ===
测试1:直接访问API
API URL: https://bbirsaxi.s1.myws.ca/api.php
Warning: Undefined variable $header_size in /mnt/sda1/www/2026/test_api.php on line 37
HTTP状态码: 200
Warning: Undefined variable $headers in /mnt/sda1/www/2026/test_api.php on line 58
响应头:
响应体前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字符:
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.