Fetch API
Learn Fetch API (Modern JavaScript (ES6+), JavaScript) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
fetch() - Making HTTP Requests fetch(url) returns a Promise that resolves with a Response object once the HTTP response headers arrive (the body isn't parsed yet). Call .json() on the response to parse the body as JSON - that also returns a Promise.