CodePudding user response:
Premise is to use the jquery library, interface points get or post//code
$.get (" http://191.11.11.11/api/1.php ", function (data, status) {
console.log(data);//data is the data
});
CodePudding user response:
XMLHttpRequest