mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
add header in azure_list_resources_set_url (#4376)
This commit is contained in:
parent
9c9893b477
commit
c642befb68
@ -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, $_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user