You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
If I send an object with a property that is an empty array, this property gets removed from the request and not sent to the server.
This is unexpected and breaks a functionality where you would send an empty array to, for example, reset some property on the server.
Sending an empty string, empty object, or null value seems to work instead.
For a reproduction you can see: https://codesandbox.io/s/axios-empty-array-bug-w4yhd?file=/src/index.js