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

Adding possibility to pass custom data to request config #1952

Closed
wants to merge 3 commits into from

Conversation

Flyrell
Copy link

@Flyrell Flyrell commented Jan 8, 2019

As mentioned in issue #1890 there's a great use case for custom data in axios' requests.

It's mainly useful while working with interceptors as you can now easily (without any URL matching) identify/differentiate the calls stopped by interceptor. You can also pass any additional data to request which may be useful while handling errors or correct responses.

Please, take a look and I will appreciate hearing feedback from you or merging.
Thank you.

@Flyrell
Copy link
Author

Flyrell commented Feb 9, 2019

Checks fixed in #1993. Would anyone consider reviewing? Thanks.

@fjeldstad
Copy link

@Flyrell What happened to this PR?

@axios axios locked and limited conversation to collaborators May 3, 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

Successfully merging this pull request may close these issues.

None yet

3 participants