© Adam Freeman 2020
A. FreemanPro Angular 9https://doi.org/10.1007/978-1-4842-5998-6_24

24. Making HTTP Requests

Adam Freeman1 
(1)
London, UK
 
All the examples since Chapter 11 have relied on static data that has been hardwired into the application. In this chapter, I demonstrate how to use asynchronous HTTP requests, often called Ajax requests, to interact with a web service to get real data into an application. Table 24-1 puts HTTP requests in context.
Table 24-1.

Putting Asynchronous HTTP Requests in Context

Question

Answer

What are they?

Asynchronous HTTP requests are HTTP requests sent by the browser on behalf of the application. The term asynchronous refers to the fact that the application continues to operate while the browser is waiting for the ...

Get Pro Angular 9: Build Powerful and Dynamic Web Apps 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.