无需订阅 ID 即可获取 Azure 产品列表

问题描述 投票:0回答:1

https://learn.microsoft.com/en-us/azure/?product=all

当我尝试调用此 API 时,我收到了 html 格式的响应,为什么会这样?

如果我们想要 JSON 格式的响应,解决方案是什么?

我需要做什么步骤?

azure product
1个回答
0
投票

如果您想要JSON格式的响应,只需使用Postman访问API调用URL即可。

在Postman中,您可以根据您的要求选择回复的语言。

网址: https://learn.microsoft.com/en-us/azure/?product=all

方法:GET

授权:不记名令牌

输出:

enter image description here

输出

JSON
格式:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.