Not getting Form values on http post


#1

Hi i am sending form data to server using http post method , but i am getting empty array in my console .can anyone help me out

 submitdata(){
    let url = "my api url here ";
   let httpOptions = {
      headers: new HttpHeaders({
          'Content-Type': 'multipart/form-data'
      })
  };
  let body = JSON.stringify({
    fData : this.contactForm.value.name
  });
  this.http.post(url,body,httpOptions)
  .subscribe((data)=>{
    console.log(data);
  })