I 測試</h1>
    
    <button onclick="testAllAPIs()">測試所有 API</button>
    
    <div id="results"></div>

    <script>
        const API_BASE_URL = 'http://localhost:8080/api';
        
        function addResult(title, content, type = 'success') {
            const resultsDiv = document.getElementById('results');
            const resultDiv = document.createElement('div');
            resultDiv.className = `result ${type}`;
            resultDiv.innerHTML = `<h3>${title}</h3><pre>${content}</pre>