Answer the question
In order to leave comments, you need to log in
Angular server response format?
Good day!
I am developing a frontend on Angular, the following question arose:
If the server does not respond in JSON format, an HttpErrorResponse error is thrown in the application, with the explanation “Failed to parse JSON”.
How to customize it for yourself? After all, not every server responds with JSON
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question