Azure API Management – 无法在 API 管理中测试,但在浏览器中端点可用。

huangapple go评论62阅读模式
英文:

Azure API Management - Cannot test within API Management, but endpoint works in browser

问题

我正在使用Azure API Management来托管我编写的API。我无法在单独的操作上使用测试选项卡。但是,我可以从操作的测试选项卡中复制请求URL,结果会正确显示。下面是在尝试从AMS(具体来说是按下发送按钮)进行功能测试时显示的错误消息。
Azure API Management – 无法在 API 管理中测试,但在浏览器中端点可用。

我尝试查看日志,具体来说是显示最后100个失败的请求...但是没有返回结果。

我还没有设置产品或订阅。目前有第三方公司正在测试API,所以在等待设置另一个槽位时,我必须小心不要干扰他们的测试。我能在“内置全访问订阅”中添加跟踪功能而不会造成任何干扰吗?
Azure API Management – 无法在 API 管理中测试,但在浏览器中端点可用。

英文:

I am using Azure API Management to host an API that I coded. I am unable to use the test tab for individual operations. However, I can copy the request url from the test tab for the operation and results are displayed correctly. Below is the error message displayed when trying the functionality from the AMS - specifically, pressing the send button.
Azure API Management – 无法在 API 管理中测试,但在浏览器中端点可用。

I tried looking in the logs, specifically to display the last 100 failed requests... But no results are returned.

I haven't setup products or subscriptions yet. I have a third party company testing the API at the moment, so I have to be careful I don't disrupt their testing whilst I wait for another slot to be setup. Can I add allow tracing to the 'Built-in all-access subscription' without any disruption?
Azure API Management – 无法在 API 管理中测试,但在浏览器中端点可用。

答案1

得分: 0

请检查Trace以获取有关403响应的更多详细信息。

英文:

Please check the Trace for more details regarding the 403 response.

huangapple
  • 本文由 发表于 2023年6月26日 22:33:16
  • 转载请务必保留本文链接:https://go.coder-hub.com/76557673.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定