Ninety-nine percent of Angular projects involve communication between a client (a browser) and some remote server. Normally this is done with HTTP. So, it’s very important to know how HTTP communication works and how you can write code for it. That’s what this chapter is about.
The HyperText Transfer Protocol (HTTP) is designed to enable communications between clients and servers. HTTP works as a request-response protocol between a client and server. We will cover this in more detail in this chapter.
HTTP methods have been around for a long time (since way before AJAX and different types ...