Coding task · Angular course · Module 9: HttpClient

Practice: Auth Interceptor

Functional interceptors are functions that modify the request and pass it on through next(). We register them in provideHttpClient().

Task

Complete the interceptor that adds an authorization token to every request.