Multipart form posting in Native HTTP

Hi All

I hope you all are okey,

First, I want to Introduce mySelf.

I am new here. I am a Business Man in Manchester, UK i Join this forum to get more Knowledge and increase my decision making skills.

And Second i Want to Know that,

How to post Multipart Data in Native http Post.?

@RahulSharmaUK You could see before the documentation of this plugin if you use Cordova which has MultiPart possibility:

But read this answer that already a user to quickly implement a multipart/form-data POST:

I’d just like to mention that if you’re using Angular, 99.9% of the time you don’t want anything to do with cordova HTTP. Just use Angular HttpClient.

For one thing, what you ask for is tremendously simple:

let fd = new FormData();
fd.append(...);
return this.http.post(url, fd);

No custom headers whatsoever, no manually dealing with JSON.