HTTP usuń kąt

ngOnInit() {
    this.http.delete('https://jsonplaceholder.typicode.com/posts/1')
        .subscribe(() => this.status = 'Delete successful');
}
Tiny Coders