File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,8 @@ Here is a quick example:
107107``` php
108108// include __DIR__ . '/loader.php';
109109require 'vendor/autoload.php';
110- $global_headers = array(Authorization: Basic XXXXXXX);
111- $client = new SendGrid\Client('base_url', global_headers);
110+ $global_headers = array(' Authorization: Basic XXXXXXX' );
111+ $client = new SendGrid\Client('base_url', $ global_headers);
112112$response = $client->your()->api()->_($param)->call()->get();
113113print $response->statusCode();
114114print $response->headers();
@@ -120,8 +120,8 @@ print $response->body();
120120``` php
121121// include __DIR__ . '/loader.php';
122122require 'vendor/autoload.php';
123- $global_headers = array(Authorization: Basic XXXXXXX);
124- $client = new SendGrid\Client('base_url', global_headers);
123+ $global_headers = array(' Authorization: Basic XXXXXXX' );
124+ $client = new SendGrid\Client('base_url', $ global_headers);
125125$query_params = array('hello' => 0, 'world' => 1);
126126$request_headers = array('X-Test' => 'test');
127127$data = array('some' => 1, 'awesome' => 2, 'data' => 3);
You can’t perform that action at this time.
0 commit comments