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
v0.27.1 FormData is sent as 'application/x-www-form-urlencoded' instead of 'multipart/form-data' #4627
Comments
me to,axios@0.27.0 does't send formdata |
axios@0.27.0 works, its 0.27.1 that fails Edit: i'm using axios with cdn where this url https://unpkg.com/axios@0.27.0/dist/axios.min.js has this comment head
so i'm a bit confused |
Same problem here, we downgraded to 0.27.0. |
I dont know why that is the case in unpackage but please use https://unpkg.com/axios@0.27.1/dist/axios.min.js |
https://unpkg.com/axios@0.27.1/dist/axios.min.js is broken the problem with unpackage is that they label 0.26.1 as 0.27.0, but the bug stands and 0.27.1 is broken with bad content type and missing boundry |
Linking #4631 |
Describe the bug
form-data is not correctly sent
To Reproduce
Code snippet to reproduce, ideally that will work by pasting into something like https://npm.runkit.com/axios, a hosted solution, or a repository that illustrates the issue. If your problem is not reproducible, please file under Support or Usage Question
Expected behavior
i'm using php so having data available for $_POST
Environment
Additional context/Screenshots
using 0.27.0 it works
while 0.27.1 generate this request
The text was updated successfully, but these errors were encountered: