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

falsey values in json prop are not sent to server #222

Closed
elijahsmith opened this issue Jan 16, 2020 · 0 comments · Fixed by #223
Closed

falsey values in json prop are not sent to server #222

elijahsmith opened this issue Jan 16, 2020 · 0 comments · Fixed by #223
Labels
bug Something isn't working

Comments

@elijahsmith
Copy link
Contributor

When submitting a POST request (not exclusively, this is just where I encountered this bug), if a falsey value (0, false, etc) is provided to the json prop, nothing is sent in the request body.

Conversely, values like 1 and true are sent, as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants