Open jongbonga opened 1 month ago
This issue has been labeled as type: bug
. This label is added to issues that that have been reproduced and are being tracked in our internal issue tracker.
The same:
5.5.1 -> my express service got content type content-type’: ‘multipart/form-data
as default
6.0.1 -> i got content-type': 'application/x-www-form-urlencoded
without file in data
Any idea how can i fix this?
please, report a new issue, that seems like a different problem
Capacitor Version
Other API Details
Platforms Affected
Current Behavior
on Capacitor 5 sending formData with CapacitorHttp enabled on config and
content-type: 'multipart/form-data'
hard-coded in the headers works fine, it fails on Capacitor 6Expected Behavior
it should work with
content-type: 'multipart/form-data'
or documented somewhereProject Reproduction
https://github.com/jongbonga/code-reproduction
Additional Information
There is a PR for the issue here