Create Zone

This commit is contained in:
Russ Long 2018-03-30 11:41:10 -04:00
parent 0581087db0
commit f1c8f83ce5

View File

@ -27,7 +27,6 @@ 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' => [