Learn fetch and start here
1, What is fetch()?
fetch() is the browser's built-in global JavaScript method. It is used to issue http requests. It can be used directly without downloading and installing.
// A simple http request
fetch('http://example.com/movies.json')
.then(function (response) {
return response.json();
})
.then(function (myJson) {
...
Posted by snowrhythm on Wed, 24 Nov 2021 08:36:22 -0800