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