PHP
$data = array (
'page' => 0,
'per_page' => 0,
'dhcp_subnet_group_id' => 'integer',
'pool' => 'string',
);
$context = stream_context_create([
'ssl'=>['verify_peer' => false],
'http' => [
'method' => 'GET',
'header' => "Content-Type: application/json\r
Accept: application/json",
'content'=>json_encode($data)
]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/dhcp-subnets', false, $context);