Create Zone
This commit is contained in:
parent
4b103d8ed0
commit
7ff8fcdd6d
@ -27,6 +27,7 @@ class PagesController extends Controller
|
|||||||
'Accept: application/json',
|
'Accept: application/json',
|
||||||
'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s',
|
'X-API-Key: '. 'b$L0S3BHhOFp!VXDJ*PB*5M2DAh!mO5s',
|
||||||
];
|
];
|
||||||
|
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