Create Zone

This commit is contained in:
Russ Long 2018-03-30 11:53:38 -04:00
parent f1c8f83ce5
commit 7d19d9d428

View File

@ -27,6 +27,7 @@ class PagesController extends Controller
'Accept: application/json', 'Accept: application/json',
'X-API-Key: '. 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k', 'X-API-Key: '. 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k',
]; ];
dd($headers);
$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', [
'form_params' => [ 'form_params' => [