summaryrefslogtreecommitdiffstats
path: root/examples/example.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example.php')
-rw-r--r--examples/example.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/example.php b/examples/example.php
index 9e414eb..1eb8c41 100644
--- a/examples/example.php
+++ b/examples/example.php
@@ -6,10 +6,7 @@ include(dirname(__DIR__).'/lib/SendGrid/client.php');
// This gets the parent directory, for your current directory use getcwd()
$path_to_config = dirname(__DIR__);
$api_key = getenv('SENDGRID_API_KEY');
-$headers = array(
- 'Content-Type: application/json',
- 'Authorization: Bearer '.$api_key
-);
+$headers = array('Authorization: Bearer '.$api_key);
$client = new SendGrid\Client('https://api.sendgrid.com', $headers, '/v3', null);
// GET Collection