Created a helper to test http client request.