You will learn about the axios interceptors in reactJS. They are used to intercept request or response objects which is sent by Axios Interceptors in a ReactJS Application.
Axios interceptors are the default configurations added to request and response objects. It is also used on error handling.
For GET requests :-
we use request object
For POST requests :-
we use response object
Promise.reject () is used when error occurs or if success doesn't occurs.
use Tags :-
1. axios interceptors in reactJS in Hindi
2. when to use axios interceptors in react
3. How to use axios interceptors when GET and POST requests.
4. How to use Promises in axios interceptors in reactJS Application
#reactjs #react #axios #interceptors