HTTP is the primary protocol for browser and server communication. The Angular HTTP library simplifies application programming with the XHR and JSONP APIs. Almost all Angular applications need to make HTTP requests to a back-end web API to retrieve, save, update, and delete data. This course teaches basic, as well as advanced features of Angular HTTP.
This course also covers an introduction to the new HTTP client module, example of an HTTP GET, improved Type Safety, HTTP Request Parameters (Immutability-based API), HTTP Headers (Immutability-based API), HTTP PUT, PATCH, POST, DELETE, some REST Guidelines (specific to RESTful JSON) for using the multiple HTTP methods, and much more. It also goes over the major features of the HTTP client service provided by angular such as the ability to request typed response objects, streamlined error handling, request and response interception.
In addition, it teaches how to use RxJS, and the RxJS operators that are most common when working with the Angular HTTP client. A significant part of this course is dedicated to teaching how to work with another new use case that is supported by the HTTP client; Progress HTTP Events.
The new Angular HTTP Client is a great evolution when compared to the previous HTTP client in the front-end world of wed development. It’s more user-friendly and helps to improve the type safety of our code.