I am making a lot of the same kind of requests in axios with an authentication token I use to authenticate to my API and it's becoming tedious writing it in every time I want to add another. Is there a way to write some middleware in redux to tack on the token to the query params before the request is actually made?
Submitted July 30, 2018 at 06:08PM by Jag783
No comments:
Post a Comment