• 4 months ago
Axios allows us to create a global configuration file with an instance to be used for all HTTP requests. We can create in that file even our interceptors to custom the axios requests automatically.

For example in my video I'm showing how I'm adding the JWT tokens from the cookies as authorization in each request.

Recommended