How post data using ionic 3 not use object only use form data


#1

let data = new FormData();
data.append(‘username’, this.username);
data.append(‘Email’, this.Email);
data.append(‘Contact’, this.Contact);
data.append(‘password’, this.password);
data.append(‘Repassword’, this.Repassword);

this.http.post(link,data)
.subscribe(data => {

}, error => {
console.log(“Oooops!”);
});