Introduction to the JavaScript Fetch API

Posted by LinuxCareer on Mar 29, 2020 7:41 AM EDT
Linuxconfig.org; By Egidio Docile
Mail this story
Print this story

Compared to XMLHttpRequest and the libraries built around it, like JQuery.ajax, the fetch API defines a more modern and cleaner way of performing asynchronous requests, based on the use of promises. In this article we will see some of the interfaces provided by the API, like Request and Response, and we will learn how to use the fetch method to perform various types of asynchronous requests.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Developer, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.