fetch("https://api.exemple.com/data") .then((response) => response.json()) .then((data) => console.log(data));