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

Add support third-party library to serialize url params #121

Merged
merged 1 commit into from
Oct 27, 2015

Conversation

davidfou
Copy link
Contributor

@davidfou davidfou commented Oct 3, 2015

Because servers don't parse url params the same way, an optional third-party could be use. To do so, paramsSerializer can be provided in the configuration. It's a function which takes params as arguments and returns encoding params.

This pull request is related to #101.

@davidfou davidfou force-pushed the custom-encode-params-method branch 3 times, most recently from b20ca21 to 6893d40 Compare October 3, 2015 09:42
@davidfou
Copy link
Contributor Author

@mzabriskie so do you think it's a better solution than #101? I think so 😸

@davidfou
Copy link
Contributor Author

@mzabriskie are you still busy? Is the PR could be merged or should I a custom version on my project? 😿

@mzabriskie
Copy link
Member

Sorry! Yes, I like this better too. Thanks for the help!

mzabriskie added a commit that referenced this pull request Oct 27, 2015
Add support third-party library to serialize url params
@mzabriskie mzabriskie merged commit 11c12b2 into axios:master Oct 27, 2015
@davidfou
Copy link
Contributor Author

You're welcome 👍

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

2 participants