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

please provide example using middlewareConfig #81

Open
pkellner opened this issue Mar 26, 2018 · 2 comments
Open

please provide example using middlewareConfig #81

pkellner opened this issue Mar 26, 2018 · 2 comments

Comments

@pkellner
Copy link
Contributor

My GET is failing with redux-axios-middleware but when I make a simple call with what I believe is the same URL but with just an axios.get, it works. I think an interceptor will help me but I don't understand how to use it.

It would be really helpful if you could update the readme to include usage of the middlewareConfig you define in the readme.

@pkellner
Copy link
Contributor Author

I think this may do what I want. I'll check back if it does not.

https://stackoverflow.com/questions/43534740/put-error-response-interceptor-on-redux-axios-middleware

@pkellner
Copy link
Contributor Author

I created a pull request for the readme which (of course) I believe is correct but please double check if you plan on accepting. #82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant