I don't know how to pass my file/image to the formData. Can anyone tell me how to do this in the right way?
myImage = '../assets/imgs/testing.jpg';
recognize(){
    let headers = new Headers();
    headers.append('Content-Type', 'application/json');
    headers.append('apikey', 'myAPI');
    console.log(headers);
    let formData = {
       file: {
      }
    }
    console.log(formData);
    this.http.post('https://api.taggun.io/api/receipt/v1/simple/file', formData, {headers: headers})
      .map(res => res.json()).subscribe(data =>{
        console.log(data);
      });
    }
  }