PHP
$data = array (
'camera' => 0,
'stream' => 0,
'type' => 0,
'archive_start_at' => 'date',
'token_life_time' => 0,
);
$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-domainapi/admin/v1/camera/{camera}/stream/{stream}/media-server-url', false, $context);