function sendRequest() { fetch("../../cgi-bin/TI_2025/lab07/ajax_hello.py") // .then(response => {console.log(response);}) .then(response => response.text()) .then(data => { console.log(data); alert(data); }) .catch(error => console.log("Błąd: ", error)); }