1var xhr = new XMLHttpRequest();
2xhr.open("GET", "https://reqres.in/api/products/3", true);
3xhr.onload = function(){
4 console.log(xhr.responseText);
5};
6xhr.send();
7
1let url = 'https://api.sheety.co/5f379c8292c16fcc323cfab50592b0e0/licences/feuille1';
2fetch(url)
3.then((response) => response.json())
4.then(json => {
5 // Do something with the data
6 console.log(json.feuille1S);
7});