1
I have the following code, I need to check the status that the server returns to the Webapp, I have the following code:
this.http.post (this.url,json)
.subscribe (
res => {
console.log(res);
},
(err: any) => {
console.log('raw error =>', err);
}
);}
What version of Angular? The latest ones ( >6) have a different use to get the return status
– Pedro
Perhaps that interests you: Httpclient - Getting error Details
– Woss