Create Zone
This commit is contained in:
parent
ad638e648b
commit
846048b9de
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user