Create Zone
This commit is contained in:
parent
f1c8f83ce5
commit
7d19d9d428
@ -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' => [
|
||||||
|
Loading…
Reference in New Issue
Block a user