Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 097a944

Browse files
bremnesRupengLiu
andauthored
[Extractor] Global policy handled as rawxml (#372)
Co-authored-by: RupengLiu <rliu1211@terpmail.umd.edu>
1 parent af0763a commit 097a944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/APIM_ARMTemplate/apimtemplate/Extractor/EntityExtractors/PolicyExtractor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public async Task<string> GetGlobalServicePolicyAsync(string ApiManagementName,
1919
{
2020
(string azToken, string azSubId) = await auth.GetAccessToken();
2121

22-
string requestUrl = string.Format("{0}/subscriptions/{1}/resourceGroups/{2}/providers/Microsoft.ApiManagement/service/{3}/policies/policy?api-version={4}",
22+
string requestUrl = string.Format("{0}/subscriptions/{1}/resourceGroups/{2}/providers/Microsoft.ApiManagement/service/{3}/policies/policy?api-version={4}&format=rawxml",
2323
baseUrl, azSubId, ResourceGroupName, ApiManagementName, GlobalConstants.APIVersion);
2424

2525
return await CallApiManagementAsync(azToken, requestUrl);

0 commit comments

Comments
 (0)