Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interceptors providing responses #95

Closed
Nthalk opened this issue Jul 29, 2015 · 2 comments
Closed

Interceptors providing responses #95

Nthalk opened this issue Jul 29, 2015 · 2 comments

Comments

@Nthalk
Copy link

Nthalk commented Jul 29, 2015

In $http, if your interceptor does not return a config object, it is used as the success for the request.

This is useful for stubbing out apis that don't exist yet, mock testing, and caching.

Any plans / intentions to support this?

@mzabriskie
Copy link
Member

@Nthalk can you share an example of how this works, or point me to some Angular docs?

@nickuraltsev
Copy link
Member

Closing this due to inactivity. Please feel free to reopen if needed.

@axios axios locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants