Skip to content

Talk

A Close Look at Angular’s New HttpClient

NG-BE 2017by Manfred Steyer

A Close Look at Angular’s New HttpClient

About the talk

Nearly all Angular applications must communicate with HTTP-based APIs. To facilitate this task, Angular 4.3 introduced the new HttpClient. This session explores its possibilities. It shows how to use both JSON and other text-based formats like XML or CSV. Furthermore, we investigate how to deal with binary streams and how an application can acquire progress information when performing file up- and downloads. We also look at Interceptors that allow the implementation of cross-cutting concerns like security checks, logging, or caching. We conclude by examining how to defend against XSRF attacks and what the HttpClient has in store for testing.

Book tip

Modern Angular

Architecture, Concepts, Implementation: practical guidance for modern Angular – Signals, Signal Forms, the NgRx Signal Store, AI and architecture.

More about the book: Modern Angular (opens in a new window)