Posts for Fetch()

Understanding Fetch() in JavaScript

The fetch()  method allows you to make network requests similar to XMLHttpRequest (XHR). The main difference between the Fetch API and XMLHttpRequest which was otherwise known as XHR is that the Fetch API uses Promises, which makes you write cleaner API calls, strictly avoiding callback hell and reducing the complexity of XMLHttpRequest. Basic Fetch Request […]

December 20, 2019 in Code examples & Javascript