Axios Interceptors Flashcards

Learn about axios interceptors

1
Q

What do interceptors do?

A

Interceptors allow us to intercept responses before they are sent or received.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two types of interceptors?

A

The two types of interceptors are request interceptors and response interceptors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When are request interceptors executed?

A

Request interceptors are executed before a request is sent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When are response interceptors executed?

A

Response interceptors are executed whenever a response is received.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly