I've got this httpclient request in an angular 4.3 service:
updateTermin(termin: Termin){
let url = '${this.termineUrl}/${termin.id}';
this.http
.put(url, termin, {headers: this.headers})
}
it only gets fired if i append a .subscribe() like this:
updateTermin(termin: Termin){
let url = '${this.termineUrl}/${termin.id}';
this.http
.put(url, termin, {headers: this.headers})
.subscribe()
}
The other request (delete or post) work without append .subscribe(). Why?