add header in azure_list_resources_set_url (#4376)

This commit is contained in:
Stéphane Duret 2023-04-20 16:09:30 +02:00 committed by David Boucher
parent c59c0f1f61
commit 5ecf958a1b
1 changed files with 2 additions and 1 deletions

View File

@ -1227,7 +1227,8 @@ sub azure_list_policystates {
full_url => $url, full_url => $url,
hostname => '', hostname => '',
get_params => $get_params, get_params => $get_params,
query_form_post => '' query_form_post => '',
header => ['Content-Type: application/json']
); );
foreach (@{$response->{value}}) { foreach (@{$response->{value}}) {
push @$full_response, $_; push @$full_response, $_;