I just want to be able to do a rest call using Azure Web Api Management without needing to pass the subscription-key in the url. Is that possible?
问题:
回答1:
Azure API management allows for anonymous subscriptions.
Create a Product without requiring a subscription (Product -> Settings -> Require Subscription) Add your API to this product.
https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-add-products/
回答2:
You can do this:
API Management Portal -> Product -> click a product -> Settings -> Require Subscription
However, the subscription key provides identification to the Azure API portal. Without it, you lose analytics, security, throttling...basically every reason why you would want to want to use API Management in the first place.
Unless you have a reason to uncheck this and still use API management (which you might have), I would recommend letting the user just hit the API directly if you don't want subscription keys. I only would uncheck this checkbox if I had a special product line for demonstration purposes.