Added a sample client function using requests.