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:
4747``` php
4848require '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();
5252print $response->statusCode();
5353print $response->headers();
@@ -59,7 +59,7 @@ print $response->body();
5959``` php
6060require '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);
You can’t perform that action at this time.
0 commit comments