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

Null request body sent as 'null' string #291

Open
grimsa opened this issue Apr 13, 2022 · 0 comments
Open

Null request body sent as 'null' string #291

grimsa opened this issue Apr 13, 2022 · 0 comments

Comments

@grimsa
Copy link

grimsa commented Apr 13, 2022

We observed this after upgrading apisauce from 1.1.2 to 2.1.5

We had code similar to apisauceInstance.post('some-url', null, configObject) which then resulted in a null (as a four-letter string) being sent as a request body.

Changing to apisauceInstance.post('some-url', undefined, configObject) reverted to the expected behavior (no request body sent).

This seems to be similar to #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant