Browsed by
Tag: js

Interceptor in Angular

Interceptor in Angular

$http service This service is an Angular method for making HTTP request for external resources. All HTTP requests has an asynchronous nature. Because of that, all operations return promises. Generally, this service could be used by defining parameters directly, like below or by using shortcut methods Interceptor in Angular The same as in previous post about interceptor in Angular you can also setup global mechanism to intercept each HTTP request. It can be useful for error handling, logging or authentication….

Read More Read More

%d bloggers like this: