From 070b73136fa93f47b4b74cf4b2f53c4831e98967 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 10:00:05 -0400 Subject: [PATCH] Create Zone --- app/Http/Controllers/PagesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 2533078..fba954e 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -24,7 +24,7 @@ class PagesController extends Controller $zone_ttl = $createzone_req->zonettl; $zone_primary_ip = $createzone_req->primaryip; $headers = [ - 'Authorization' => 'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s' + 'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s' ]; $client = new Client(); //GuzzleHttp\Client $result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [