Угловой http
ngOnInit() {
const body = { title: 'Angular PUT Request Example' };
this.http.put<any>('https://jsonplaceholder.typicode.com/posts/1', body)
.subscribe(data => this.postId = data.id);
}
Philan ISithembiso