-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: CapacitorHttp - Support multipart/form-data (FormData) #6142
Comments
This issue may need more information before it can be addressed. In particular, it will need a reliable Code Reproduction that demonstrates the issue. Please see the Contributing Guide for how to create a Code Reproduction. Thanks! |
This comment was marked as off-topic.
This comment was marked as off-topic.
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot. Have a great day! |
This is still mandatory |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Feature Request
Description
Support multipart/form-data (FormData) in CapacitorHttp Plugin for iOS, and Android. It's currently sending as an empty object.
Platform(s)
Preferred Solution
Please use similar implementation as Cordova Plugin Advanced Http
Android Implementation
iOS Implementation
Additional Context
FormData Request
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#uploading_a_file
Cordova Plugin Advanced Http
https://github.com/silkimen/cordova-plugin-advanced-http/blob/87c915f7c0938006e3d88f7f06a92e9fe35e7f65/www/helpers.js
The text was updated successfully, but these errors were encountered: