Ionic3 file transfer not working

I am trying to add an attachment to already created JIRA issue via JIRA REST api using ionic 3
but the same fails everytime and the file is not sent to server.

Here is provider.ts–>

this.file=$event.target.files[0];
let formData = new FormData();
formData.append(‘file’,this.file);
console.log("formdata = "+formData);
console.log("formdata JSON = "+JSON.stringify(formData));
let request = new XMLHttpRequest();
console.log(JSON.stringify(formData));
request.open(‘POST’, ‘/rest/api/2’+’/issue/PM-4/attachments’);
request.setRequestHeader(“X-Atlassian-Token”, “nocheck”);
request.setRequestHeader(‘Authorization’, "Basic " + btoa(“user:password”));
request.setRequestHeader(‘Content-Type’,“multipart/form-data; charset=UTF-8; boundary=‘mmm’;”);
request.setRequestHeader(“Content-Transfer-Encoding”, “binary”);
request.setRequestHeader(“User-Agent”, “xx”);
request.setRequestHeader(“Content-Disposition”, “form-data; name=‘file’;”);
request.send(formData);

fileupload.html -->

//---------------------------------------------------
  <ion-item>
    <ion-input type="file" accept="image/*" (change)="changeListener($event)"> </ion-input>
  </ion-item>

fileupload.ts -->

changeListener($event):void{
    this.file=$event.target.files[0];
    console.log(this.file);
    console.log("upload...");
    let regData={"file":this.file};
    console.log("REGDATAA"+JSON.stringify(regData));
    this.jira.postAttachment("PM-3",regData).subscribe(dataa=>{
      console.log(dataa);
    });
  }

in browser console I see that I am getting a response 200 OK but attachment is not uploading and I see an empty JSON array in body response.
I have referred to almost all the posts about the multipart data and naming the file type as “file” etc and so on…
but nothing works from Postman it works perfectly fine, any advice on how to proceed ?