© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
F. StrazzulloFrameworkless Front-End Developmenthttps://doi.org/10.1007/978-1-4842-9351-5_6

6. HTTP Requests

Francesco Strazzullo1  
(1)
TREVISO, Treviso, Italy
 

In the previous chapters, you learned to render DOM elements and to react to events from systems or users, but a front-end application feeds on asynchronous data from a server. This chapter aims to show you how to build an HTTP client in a frameworkless way.

A Bit of History: The Birth of AJAX

Before the late 1990s, a complete page reload was required for every user action that needed any kind of data from the server. For people approaching web development (or web in general), today we use what we ...

Get Frameworkless Front-End Development: Do You Control Your Dependencies or are They Controlling You? now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.