=== 简单API测试 === 测试1: GET状态请求 响应长度: 318 响应前200字符:
You don't have permission to access this resource.
Additionally,
❌ 不是JSON
原始响应:
<!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>
=== 测试2: POST上传测试 ===
Warning: file_put_contents(test_upload.txt): Failed to open stream: Read-only file system in /mnt/sda1/www/2026/simple_test.php on line 45
响应长度: 318
响应:
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.
❌ 不是JSON响应 原始响应: <!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>