diff --git a/doc/readme.md b/doc/readme.md index d31a913..9cbab0a 100644 --- a/doc/readme.md +++ b/doc/readme.md @@ -69,7 +69,10 @@ use Exchanger\Service\AbstractApi; use Exchanger\Exchanger; // Create your http client (we choose curl here) -$client = new CurlClient(); +$options = [ + CURLOPT_FOLLOWLOCATION => true, +]; +$client = new CurlClient(null, null, $options); // Use the Fixer.io service $service = new Fixer($client, null, ['access_key' => 'YOUR_KEY']);