3 ways to use Angular HTTP Interceptors
HTTP Interceptors provide a flexible mechanism to control your application when dealing with network-related resources. They’re similar to middleware in other frameworks and allow network logic to be abstracted and reused.