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.$delete body payload is missing #419
Comments
+1 |
I'm experiencing the same problem, looks like the Content-Type: 'application/json' is removed from headers when sending the request. I tried to intercept the request and set the Content-Type header, but without success. |
Looks like it's the issue from Axios@0.20.0 |
There is a PR (axios/axios#3282) ready. Question is when 0.20.1 will be released. A solution we found for now is using |
|
Hi, Axios version 0.21.0 has been released 🎉 please use that and let us know if that solves your issue. Thanks |
@jasonsaayman I've tested Axios 0.21.0 and it fixed the issue, thank you. |
It is because how semver works. |
@suruaku Yeah, I get that |
Wainting for that! 🙌 |
Merged by #410 and updated with v5.12.3. Sorry for delay. |
@nuxtjs/axios
version: 5.12.2Issue:
When trying to call API on
delete
method, the request body is missing.Example problematic code:
More information:
@nuxtjs/axios
5.12.1 don't have this problemThe text was updated successfully, but these errors were encountered: