-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Put request with multipartform/data content type sends an empty request #1081
Comments
same here |
I've seen similar issue on 2018 Suggestion in this issue was to send map instead of form data I can also see that there's actually logic both for form data and multipart files |
I've seen that one.. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions. |
Seems to happen to me, unfortunally it is very hard to understand at first |
I am having this issue with dio ^5.3.2 |
im having this issue too Future update1() async {
} this is a PUT reuqest. but now it send the finstance of the file and not the file path as supposed string. |
Please submit new issues with minimal reproducible examples and updated info. We're generally not handling issues before Feb 13, 2023. |
New Issue Checklist
Issue Info
Issue Description and Steps
when sending a put/patch request with data being a FormData object it just sends empty body, I have tried to set the "Content-Type" to "multipart/form-data" but nothing changed.
The text was updated successfully, but these errors were encountered: