How to Mock a Backend in Angular using HttpInterceptor

added by JavaScript Kicks
11/22/2019 12:23:01 PM

443 Views

Learn how to mock a backend using HttpIntercetor to make your testings simpler and easier. Like the name implies HttpInterceptor is used to intercept HTTP calls (requests and responses) from our Angular app. There are many things we can do with HttpInterceptors: Authentication Caching Fake backend URL transformation Modifying headers and so on...


0 comments