redux-axios-middleware icon indicating copy to clipboard operation
redux-axios-middleware copied to clipboard

please provide example using middlewareConfig

Open pkellner opened this issue 7 years ago • 2 comments

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 avatar Mar 26 '18 19:03 pkellner

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 avatar Mar 26 '18 20:03 pkellner

I created a pull request for the readme which (of course) I believe is correct but please double check if you plan on accepting. https://github.com/svrcekmichal/redux-axios-middleware/pull/82

pkellner avatar Mar 27 '18 00:03 pkellner