Send a request through HttpClient and generate the curl command.