version 1.33, 2024/03/28 20:04:56 |
version 1.34, 2024/03/28 20:06:56 |
Line 51 async function sendData() { |
|
Line 51 async function sendData() { |
|
// console.log("Data: " + data + "\nStatus: " + status); |
// console.log("Data: " + data + "\nStatus: " + status); |
//}); |
//}); |
/* --------------------- */ |
/* --------------------- */ |
var response=""; |
var re=""; |
fetch('/feedbk/', { |
fetch('/feedbk/', { |
method: 'POST', |
method: 'POST', |
headers: { |
headers: { |
Line 62 fetch('/feedbk/', { |
|
Line 62 fetch('/feedbk/', { |
|
}) |
}) |
// .then(response => response.json()) |
// .then(response => response.json()) |
// .then(response => console.log(JSON.stringify(response))) |
// .then(response => console.log(JSON.stringify(response))) |
.then(response => response.text()); |
.then(re => response.text()); |
console.log(response); |
console.log(re); |
|
|
|
|
}, |
}, |