Create Zone

This commit is contained in:
Russ Long 2018-03-30 11:38:01 -04:00
parent 87b795b57e
commit 4b103d8ed0

View File

@ -26,7 +26,6 @@ class PagesController extends Controller
$headers = [ $headers = [
'Accept: application/json', 'Accept: application/json',
'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s', 'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s',
'Accept: application/json',
]; ];
$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', [