
        function formatResponse(data) {
            let formatted = '';
            for (const [key, value] of Object.entries(data)) {
                formatted += `<span class="response-key">${key}</span>: <span class="response-value">${value}</span>\n`;
            }
            return formatted;
        }
    </script>
</body>
</html>
