![]() ![]() | ![]() |
version 1.68, 2024/03/30 18:00:23 | version 1.71, 2024/03/30 18:05:10 | ||
---|---|---|---|
|
|
||
body: dataToSend | body: dataToSend | ||
}) | }) | ||
.then(response => response.json()) | .then(response => response.json()) | ||
.then(json => console.log(json)) | // .then(json => console.log(json)) | ||
.then(json => ii.textContent=json['msg']) | |||
ii.textContent=response.msg; | // ii.textContent=json['msg']; | ||