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 GitHub
parent 9c9893b477
commit c642befb68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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