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
Axios does not use data from config when making DELETE request #3220
Comments
I see the same behavior for DELETE requests as well in my React Web Application |
+1: my contracts failed with latest version of axios using delete verb with body request (in case of bulk delete). |
Tested in runkit and confirmed. It is really a breaking change.
The reason is that
|
After taking a look at the history, found out that this issue was introduced in 0d69a79 |
I'm getting this same issue. It took a long time to figure out it was an issue with the package, this is probably a relatively urgent fix. |
This broke multiple endpoints in subtle ways for us when updating Axios and took some time to identify. I hope for the sake of other companies that this issue is resolved quickly. |
I also meet this problem |
Wait for axios/axios#3220 resolution
Wait for axios/axios#3220 resolution
Same from my side: when updating from v0.19.2 to v0.20.0, data argument is not forwarded to network DELETE request |
Same problem for me, I had to revert my package-lock.json to understand what was going on. |
Not use data is recommend by delete request in Restful API. But I think Axios shouldn't be forced to disable |
@sparkxxxxxx DELETE with a body ( |
FYI the following is a work around until this is fixed
|
@wopian I'm with you. |
Kindly invite someone to test with #3282. Hope it solves the problem. |
@chinesedfan I built #3282 from source and patched it into |
…on to 7.4.2 to force using axios 0.19.2 (cf. axios/axios#3220)
This seems worthy of cutting |
Hi, Version 0.21.0 has been released 🎉 please use that and let us know if that solves your issue. Thanks |
Hi, @jasonsaayman Tested and issue is fixed Thanks |
Can confirm issue is fixed for us. |
Describe the bug
Axios last version (0.20.0) does not use data from config when making DELETE request. In 0.19.2 it's working fine
To Reproduce
Expected behavior
Axios send request data from config when making DELETE request
Environment
Additional context/Screenshots
None
The text was updated successfully, but these errors were encountered: