September 2024
Beginner to intermediate
985 pages
35h 37m
English
That’s enough of the theory and the introduction to the exchange formats. Now let’s show you how to specifically create queries using Ajax.
The basis for all types of Ajax requests is the XMLHttpRequest object, originally developed by Microsoft and adopted over time by other browser manufacturers. Even the W3C is working on a standardization of this object (see www.w3.org/TR/XMLHttpRequest/).
The Fetch API (Section 9.4.8) provides another way of making asynchronous HTTP requests (i.e., Ajax requests)—and it’s much simpler. Nevertheless, we’ll discuss the original variant first—not least for didactic reasons. After that, we’ll present the Fetch API.
Read now
Unlock full access