Posting Permintaan Kirim Json Object TypeScript
headers = new HttpHeaders({
'Content-Type': 'application/json'
});
newVet(data: any) {
const body = JSON.stringify(data);
return this.httpClient.post(`${this.baseUrl}`, body, {headers: this.headers()});
}
MitchAloha