Angular Httpclient Post Body
ngOnInit() {
this.http.post<any>('https://jsonplaceholder.typicode.com/posts', { title: 'Angular POST Request Example' }).subscribe(data => {
this.postId = data.id;
})
}
Ham-Solo