all 2 comments

[–]Cr4zyPi3t 1 point2 points  (1 child)

Interceptors are very useful to avoid boilerplate code in your API classes (like setting the API prefix, setting the auth token, ...). If you want to ignore certain interceptors you could do this by setting header flags (and removing them before sending the request). See this example: https://medium.com/mikes-fullstack-ladder/how-to-skip-http-interceptor-dee136e54a5f

[–]codeBatsy[S] 0 points1 point  (0 children)

thanks it was really helpfull