capacitor-community / http

Community plugin for native HTTP
MIT License
208 stars 136 forks source link

Support "raw" request data for iOS & Android #233

Open millerg6711 opened 2 years ago

millerg6711 commented 2 years ago

Is your feature request related to a problem? Please describe. I'm not able to send raw data such as content type application/octet-stream or image/jpeg.

Describe the solution you'd like I would like to send data as is, without any processing. The data must be an Uint8Array or an ArrayBuffer.

Describe alternatives you've considered Cordova Advanced HTTP Plugin is currently supporting this using "raw" type as the data serializer. https://github.com/silkimen/cordova-plugin-advanced-http#setdataserializer

Additional context Needs implementation for ios and android.