microsoft / azure-api-management-monetization

MIT License
54 stars 31 forks source link

stripeinitialization.ps1 #53

Open xXMrNidaXx opened 1 year ago

xXMrNidaXx commented 1 year ago

Getting error when applying this: $monetizationModels = Invoke-WebRequest -Uri $ApimGatewayUrl/billing/monetizationModels -Headers @{"Ocp-Apim-Subscription-Key"=$ApimSubscriptionKey} | ConvertFrom-Json -or- $apimProducts = Invoke-WebRequest -Uri $ApimGatewayUrl/billing/products -Headers @{"Ocp-Apim-Subscription-Key"=$ApimSubscriptionKey} | ConvertFrom-Json

Response status code does not indicate success: 301 (Moved Permanently)

HowardvanRooijen commented 8 months ago

Are you still getting this error with the latest changes?