Extract the request into a private method that can later be stubbed
Improve the test coverage of the client