4 lines
115 B
JavaScript
4 lines
115 B
JavaScript
fetch("https://api.exemple.com/data")
|
|
.then((response) => response.json())
|
|
.then((data) => console.log(data));
|