xxxxxxxxxx
// Get the Data from the URL
fetch("URL")
// Transform the data into json
.then((res) => res.json())
.then((data) => {
console.log(data);
})
.catch((error)=> {
console.log(error);
});