Create Zone
This commit is contained in:
parent
070b73136f
commit
87b795b57e
@ -24,7 +24,9 @@ class PagesController extends Controller
|
||||
$zone_ttl = $createzone_req->zonettl;
|
||||
$zone_primary_ip = $createzone_req->primaryip;
|
||||
$headers = [
|
||||
'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s'
|
||||
'Accept: application/json',
|
||||
'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s',
|
||||
'Accept: application/json',
|
||||
];
|
||||
$client = new Client(); //GuzzleHttp\Client
|
||||
$result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [
|
||||
|
Loading…
Reference in New Issue
Block a user