You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sending a multipart/form-data request from capacitor.js app in android to my hono backend. But my Hono app throwing an error when trying to parse this request. I send the same request from my website and it works absolutely fine.
When i explicitly set headers as "multipart/form-data", no request is being sent at all. I have also used CapacitorHttp.post() method and XMLHttpRequest but all failed.
Capacitor Version
Latest Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Installed Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Other API Details
Platforms Affected
Current Behavior
I am sending a multipart/form-data request from capacitor.js app in android to my hono backend. But my Hono app throwing an error when trying to parse this request. I send the same request from my website and it works absolutely fine.
When i explicitly set headers as "multipart/form-data", no request is being sent at all. I have also used CapacitorHttp.post() method and XMLHttpRequest but all failed.
Expected Behavior
I want my request to return json data.
Project Reproduction
Not Available
Additional Information
No response
The text was updated successfully, but these errors were encountered: