From c642befb68297d4cd516c9532b9518d2bebd2d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duret?= Date: Thu, 20 Apr 2023 16:09:30 +0200 Subject: [PATCH] add header in azure_list_resources_set_url (#4376) --- src/cloud/azure/custom/api.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cloud/azure/custom/api.pm b/src/cloud/azure/custom/api.pm index ab472e781..c40569e82 100644 --- a/src/cloud/azure/custom/api.pm +++ b/src/cloud/azure/custom/api.pm @@ -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, $_;