Skip to content

Commit 4e6c269

Browse files
Merge pull request #15 from sendgrid/thinkingserious-patch-1
Typo
2 parents f886cd3 + b67ccf6 commit 4e6c269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Here is a quick example:
4747
```php
4848
require 'vendor/autoload.php';
4949
$global_headers = array(Authorization: Basic XXXXXXX);
50-
$client = SendGrid\Client('base_url', 'global_headers');
50+
$client = SendGrid\Client('base_url', global_headers);
5151
$response = $client->your()->api()->_($param)->call()->get();
5252
print $response->statusCode();
5353
print $response->headers();
@@ -59,7 +59,7 @@ print $response->body();
5959
```php
6060
require 'vendor/autoload.php';
6161
$global_headers = array(Authorization: Basic XXXXXXX);
62-
$client = SendGrid\Client('base_url', 'global_headers');
62+
$client = SendGrid\Client('base_url', global_headers);
6363
$query_params = array('hello' => 0, 'world' => 1);
6464
$request_headers = array('X-Test' => 'test');
6565
$data = array('some' => 1, 'awesome' => 2, 'data' => 3);

0 commit comments

Comments
 (0)