Create Zone

This commit is contained in:
Russ Long 2018-03-30 13:09:00 -04:00
parent ad638e648b
commit 846048b9de

View File

@ -29,8 +29,6 @@ class PagesController extends Controller
$client = new Client(); //GuzzleHttp\Client
$result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [
\GuzzleHttp\RequestOptions::JSON => [
'form_params' => [
'kind' => 'Native',
'masters' => [],
'name' => $zone_name,
@ -52,7 +50,6 @@ class PagesController extends Controller
'type' => 'A'
]
]
]
],
'headers' => [
'X-API-Key' => 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k'