Create Zone

This commit is contained in:
Russ Long 2018-03-30 09:55:50 -04:00
parent a8d81eb548
commit 31f5a545bf

View File

@ -27,7 +27,7 @@ class PagesController extends Controller
'Authorization' => 'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s' 'Authorization' => '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/servers/localhost/zones', [ $result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [
'form_params' => [ 'form_params' => [
'headers' => $headers, 'headers' => $headers,
'kind' => 'Native', 'kind' => 'Native',