Create Zone

This commit is contained in:
Russ Long 2018-03-30 10:00:05 -04:00
parent 31f5a545bf
commit 070b73136f

View File

@ -24,7 +24,7 @@ class PagesController extends Controller
$zone_ttl = $createzone_req->zonettl; $zone_ttl = $createzone_req->zonettl;
$zone_primary_ip = $createzone_req->primaryip; $zone_primary_ip = $createzone_req->primaryip;
$headers = [ $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 $client = new Client(); //GuzzleHttp\Client
$result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [ $result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [