d("request-result").style.color = "red";
                    }
                    xhr.onreadystatechange = () => { if (xhr.readyState === xhr.DONE && xhr.status === 200) {
                        responseText = xhr.responseText; // Used only for json export
                        resp = JSON.parse(xhr.responseText);
                        result_data = resp["data"];
                        document.getElementById("request-result").style.color = "green";
                        document.getElementById("re