Answers for "connection refused xmlhttprequest"

0

connection refused xmlhttprequest

var xhttp= new XMLHttpRequest();
xhttp.onreadystatechange = function() {
console.log(xhttp);

xhttp.onerror = function(e){
    alert("Unknown Error Occured. Server response not received.");
};

xhttp.open("POST", "http://localhost:8080/data", true);
xhttp.send();
Posted by: Guest on January-05-2022

Code answers related to "connection refused xmlhttprequest"

Browse Popular Code Answers by Language