I have this code
fetch('http://example.com/movies.json')
.then(response => response.json())
.then(data => console.log(data));
Is using Fetch API for a request like in the code above considered as an AJAX request?
I a request considered an AJAX request only if we use the XMLHttpRequest object ?
Yes, There are several ways to send Asynchronous requests like jQuery, axios, Fetch API or XMLhttprequest.