Callback returns a RestHttpResponse when a request fails, providing status code, reason and response body