M
fetch("ТВОЙ_URL")
.then(res => res.json())
.then(console.log);
Size: a a a
M
fetch("ТВОЙ_URL")
.then(res => res.json())
.then(console.log);
M
request.onreadystatechange = function () {
if (request.readyState === XMLHttpRequest.DONE && request.status === 200) {
console.log(request.responseText);
}
};
M