addCurlSetting(CURLOPT_PROXY,'localhost:8888'); $response = $client->send($request); echo "Response:\n"; echo (string)$response;