O'Reilly logo

Pro Angular, Second Edition by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Adam Freeman 2017

Adam Freeman, Pro Angular, 10.1007/978-1-4842-2307-9_24

24. Making Asynchronous HTTP Requests

Adam Freeman

(1)MILTON KEYNES MK6 3PA, 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required