http request returns 200 ok but goes into error angular code example
Example: https error response with status 200 angular
this.http.post(url, body, { responseType: 'text' }).subscribe();
this.http.post(url, body, { responseType: 'text' }).subscribe();