When I calling Third party Rest API in some scenario they are sending response with HTTP status code 500/404. How I can handle like this scenario. Should I catch web exception and then check the status code?
Asked
Active
Viewed 763 times
0
-
https://stackoverflow.com/questions/63646678/http-client-exception-handling-in-asp-net-core – spaleet May 18 '22 at 15:50
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community May 23 '22 at 12:37