From 31f5a545bfb881ee008c3a5f80991b5f8cc6a3f5 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 09:55:50 -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 7db9a29..2533078 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -27,7 +27,7 @@ class PagesController extends Controller 'Authorization' => 'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s' ]; $client = new Client(); //GuzzleHttp\Client - $result = $client->post('http://127.0.0.1:8081/servers/localhost/zones', [ + $result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [ 'form_params' => [ 'headers' => $headers, 'kind' => 'Native',