PHP
$data = array (
'name' => 'string',
'description' => 'string',
'type' => 'string',
'vendor' => 'string',
'model' => 'string',
'is_default' => 'boolean',
'body' => 'json',
'service' => 0,
);
$context = stream_context_create([
'ssl'=>['verify_peer' => false],
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/json\r
Accept: application/json",
'content'=>json_encode($data)
]
]);
$result = file_get_contents('https://your-domainapi/admin/v1/config-templates', false, $context);