Introduction
JavaScript's Fetch API allows us to send HTTP requests. It's been a standard part of JavaScript since ECMAScript 2015 (commonly known as ES6) was introduced and uses Promises.
This article will first show you how requests were made with vanilla JavaScript before the Fetch API was developed. We will