Creating a custom HttpInterceptor to handle 'withCredentials'

added by DotNetKicks
4/8/2019 12:27:20 PM

1 Kicks, 352 Views

Client HTTP requests often need to set a few common settings and you don't want to set them on every request. To make this process easier Angular provides an HttpInterceptor class that you can subclass and add custom behavior to for each HTTP request that is sent through the HttpClient.


0 comments