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

Params serialization of empty objects, arrays or strings #494

Closed
guzart opened this issue Oct 19, 2016 · 1 comment
Closed

Params serialization of empty objects, arrays or strings #494

guzart opened this issue Oct 19, 2016 · 1 comment

Comments

@guzart
Copy link

guzart commented Oct 19, 2016

References #263

How about adding an option to allow such serialization?

@nickuraltsev
Copy link
Member

I don't think axios needs to support it. You can filter out parameters with an empty value in your code. You can also implement your own params serializer if necessary.

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

No branches or pull requests

2 participants