Monday, December 30, 2019

What is the difference between Ajax, Fetch, Axios?

Ajax is an asynchronous request initiate by browse that does not directly result in page transition, one of it's main attractions is that you can use it to update parts of the web page without reloading.

Axios is a Javascript library you can use to perform HTTP requests that works in both the browser and node.js and it's widley supported and it's easy to use.


The Fetch API is a simple interface for fetching resources. Fetch makes it easier to make web requests and handle responses than with the older XMLHttpRequest, which often requires additional logic

No comments:

Post a Comment