Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WSO2 AM HTTP端点_Wso2_Wso2 Am - Fatal编程技术网

WSO2 AM HTTP端点

WSO2 AM HTTP端点,wso2,wso2-am,Wso2,Wso2 Am,我在WSO2 AM中使用HTTP端点时遇到问题 <ams:fault xmlns:ams="http://wso2.org/apimanager/security"> <ams:code>900906</ams:code> <ams:message>No matching resource found in the API for the given request</ams:message> <ams:description&g

我在WSO2 AM中使用HTTP端点时遇到问题

<ams:fault xmlns:ams="http://wso2.org/apimanager/security">
<ams:code>900906</ams:code>
<ams:message>No matching resource found in the API for the given request</ams:message>
<ams:description>Access failure for API: /rest/v1, version: v1. Check the API documentation and add a proper REST resource path to the invocation URL</ams:description>

更改为无法工作的HTTP端点


请更具体一些,以便其他人能够帮助您,例如什么版本的AM,什么端点起作用,什么不起作用,什么是“地址端点”


根据您的快照,它看起来将指向/rest,而不是/rest/v1。

您可以启用WIRE日志并进一步分析它。地址端点和HTTP端点的工作方式类似。按照以下步骤在API管理器中启用WIRE日志

请注意,“找不到匹配的资源”错误与将API请求分派到正确的API和资源有关。因此,它与端点类型没有任何关系


根据随附的屏幕截图,您的API上下文和版本为MrlDatabaseAPI/v1。但您尝试的是rest/v1。如果您没有上下文为“rest”且版本为“v1”的API,则会出现这种类型的错误。如果要调用MrlDatabaseAPI/v1api,那么还要确保将正确的资源路径附加到该路径(/predicates、/report、/reportNotes、/crops、/cuntries)

错误日志显示未找到匹配的资源。请确保附加在publisher中为GET请求定义的资源路径。