Answer the question
In order to leave comments, you need to log in
Is it possible to configure angular to track response codes on every $http request?
There is a distributed application: client-server. The server only sends data, the client outputs information.
I need to constantly monitor each request for an HTTP response code, because the server part can send codes like 4XX, 5XX, and the angular client application must react in a certain way to such response codes.
The option with constant processing of such responses in controllers is not suitable, actions must be defined once.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question