File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Here is a quick example:
47
47
``` php
48
48
require 'vendor/autoload.php';
49
49
$global_headers = array(Authorization: Basic XXXXXXX);
50
- $client = SendGrid\Client('base_url', ' global_headers' );
50
+ $client = SendGrid\Client('base_url', global_headers);
51
51
$response = $client->your()->api()->_($param)->call()->get();
52
52
print $response->statusCode();
53
53
print $response->headers();
@@ -59,7 +59,7 @@ print $response->body();
59
59
``` php
60
60
require 'vendor/autoload.php';
61
61
$global_headers = array(Authorization: Basic XXXXXXX);
62
- $client = SendGrid\Client('base_url', ' global_headers' );
62
+ $client = SendGrid\Client('base_url', global_headers);
63
63
$query_params = array('hello' => 0, 'world' => 1);
64
64
$request_headers = array('X-Test' => 'test');
65
65
$data = array('some' => 1, 'awesome' => 2, 'data' => 3);
You can’t perform that action at this time.
0 commit comments