Where each of these three pieces fit into the API request/response system.
Table of Contents
Can be used for:
- Modifying URLs
- Serving user feedback (spinners, loaders ,etc…)
- Formatting request/response bodies
- Maniuplate headers
- Error retry logic
- Lifecyle profiling - because interceptors can access both requests and responses, you have the flexibility to inject and track profiling metrics.
- Mocking responses
- Caching responses