alon shoshani.8612/27/2021, 7:37 PM
To make http calls between microservices and third parties for example: When the http call succeeded the httpResponse maps automatically to my Object, but when there is error in the http call and it failed, I expect the client will throw an exception with the satatus code 40X 50X, and it's not. I need to check manually what is the status code, and decide what to do. Am I using it wrong? Do you have another client to use?
Kanu12/27/2021, 8:43 PM
Lucas Milotich12/27/2021, 8:45 PM
property in the client creation : https://ktor.io/docs/response-validation.html#default
alon shoshani.8612/28/2021, 7:12 AM
Lucas Milotich12/29/2021, 8:02 PM