The client will thrown an exception on all response codes outside the range 200 to 299. Sometimes an error, such as a bad request 401 is returned with a payload, which may include validation errors or other diagnostics. These error details are lost when an exception is thrown.
This may be a misunderstanding on my part wrt HTTP responses, which I will look into.
The client will thrown an exception on all response codes outside the range 200 to 299. Sometimes an error, such as a bad request 401 is returned with a payload, which may include validation errors or other diagnostics. These error details are lost when an exception is thrown.
This may be a misunderstanding on my part wrt HTTP responses, which I will look into.