How to post multipart data in native http post

Guys,

We are trying to post multipart data with file and blob objet using ionic native http post. But we are not able to make it work. Explored many forums for similar kind of issue and many says native http doesn’t support multipart with formdata.

Could someone help us to resolve this?

Note: We don’t want to use angular http client and we know it works with that. Thanks in advace.

Can you share what you have tried? People probably won’t do the work for you, but if you have something that you’ve tried, we can take a look and see if anything stands out.

1 Like

Hi,

I tried sending the formdata to post method using native http. But it says it will support only array or object

Can you please share what you’ve tried in terms of the code you have.