Is it possible to make a call to an Azure API Rest url without a subscription key?

自作多情 提交于 2019-12-03 16:38:24

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/

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!