Comparing working with JSON using the XHR and the Fetch API

added by JavaScript Kicks
10/30/2018 1:00:35 PM

433 Views

Nowadays, JavaScript is often used to make Ajax requests. There are a lot of libraries that can do that for us, for example, axios or jQuery. Both of them use XMLHttpRequest (XHR). It differs from the relatively new Fetch API that was introduced a few years ago.


0 comments