I need help with JS
var url = " api.polytoria.com/v1/asset/catalog?limit=1";
var xhr = new XMLHttpRequest();
xhr.open("GET", url);
xhr.setRequestHeader("accept", "*/*");
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) {
console.log(xhr.status);
console.log(xhr.responseText);
}};
xhr.send();
I want to change console log to a plain message how?
Epic Signature Polytoria times mashup 1 is here https://polytoria.com/forum/post/176906 Polytoria times mashup 2 is here https://polytoria.com/forum/post/177580
Update never mind I figured it out but how do I make it not a long think just a few things
Epic Signature Polytoria times mashup 1 is here https://polytoria.com/forum/post/176906 Polytoria times mashup 2 is here https://polytoria.com/forum/post/177580