Create Zone

This commit is contained in:
Russ Long 2018-03-30 13:04:45 -04:00
parent f8e2032e58
commit e773939bd0

View File

@ -30,7 +30,7 @@ class PagesController extends Controller
$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', [
'form_params' => [ 'form_params' => [
'kind' => 'Native', 'kind' => 'Native',
'masters' => []; 'masters' => [],
'name' => $zone_name, 'name' => $zone_name,
'nameservers' => [ 'nameservers' => [
'0' => 'pdnstest.tfmm.co' '0' => 'pdnstest.tfmm.co'