简体   繁体   English

无法从Azure api管理中的开发人员门户访问新的api服务

[英]Unable to access newly api service from developer portal in Azure api management

尝试从Azure API管理中的开发人员门户访问新创建的rest API服务时,出现以下错误

{ "statusCode": 404, "message": "Resource not found" }

According to the error code, per my experience, I think the issue was caused by using an incomplete url in your request. 根据错误代码,根据我的经验,我认为该问题是由您的请求中使用不完整的网址引起的。

For example, there is an API https://xxxx.azure-api.net/echo in the deveploer portal https://xxxx.azure-api.net/admin/services , as below. 例如,有一个API https://xxxx.azure-api.net/echo在deveploer门户https://xxxx.azure-api.net/admin/services ,如下。

在此处输入图片说明

If I just did the GET request for the url, I got the same error as yours, because the name echo is only the API service name, not a complete resource name. 如果我只是对URL进行GET请求,则会遇到与您相同的错误,因为名称echo仅是API服务名称,而不是完整的资源名称。 In the example, the complete url should be https://xxxx.azure-api.net/echo/resource?param1=sample[&...] , please see below. 在示例中,完整的网址应为https://xxxx.azure-api.net/echo/resource?param1=sample[&...] ,请参见下文。

在此处输入图片说明

So please check your API definition and use the related complete APIs for your requests. 因此,请检查您的API定义,并使用相关的完整API来满足您的要求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure的服务管理API是否也适用于Windows Azure Pack? - Does service management API of azure also works for windows azure pack? 使用Microsoft Azure Java SDK资源管理API还是服务管理API? - Use Microsoft Azure java SDK Resource Management API or Service Management API? BadRequest使用Azure Service Management API创建虚拟机 - BadRequest using Azure Service Management API to create VM 为Azure Api管理Rest Api生成令牌 - Generating Token for Azure Api Management Rest Api 无法从Google Play获取订阅信息 Android 开发者 API - Unable to get the subscription information from Google Play Android Developer API 无法从 Google Play Android Developer API 获取订阅详细信息 - Unable to fetching subscription detail from Google Play Android Developer API Azure REST API,用于从Azure门户获取所有用户的联系方式 - Azure REST API for fetching contact details of all users from azure portal 无法在Azure门户进行身份验证 - Unable to Authenticate at Azure Portal 对Azure服务管理进行API调用-如何在调用中发送.pfx文件? - Make API call to Azure Service Management - how do I send the .pfx file in the call? Android管理API服务文件分配 - Android management API service file allocation
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM