From 6d92e4b3600271adcba58f5fe4ffd537b8601597 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 12:03:56 -0400 Subject: [PATCH] Create Zone --- app/Http/Controllers/PagesController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 2f87c6c..5604be8 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -24,8 +24,7 @@ class PagesController extends Controller $zone_ttl = $createzone_req->zonettl; $zone_primary_ip = $createzone_req->primaryip; $headers = [ - 'Accept: application/json', - 'X-API-Key: '. 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k', + 'X-API-Key' => 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k' ]; dd($headers); $client = new Client(); //GuzzleHttp\Client