【发布时间】:2013-10-08 09:20:54
【问题描述】:
为了使用 magento rest api,我做了以下事情。
在窗口中
- 使用 oauth 安装了 magento 1.7 CE(在 phpinfo 中检查)。
- 已创建用户角色并为来宾用户授予所有权限。
-
后来尝试通过URL访问其余资源
http://localhost:8036/magento/index.php/api/products/?type=resthttp://localhost:8036/magento/api/products/?type=resthttp://localhost:8036/magento/api/rest/products/他们都没有工作。我现在能做什么?任何形式的帮助表示赞赏。 我已遵循 REST 的所有 magento 指南。
在 Ubuntu 中
- 做同样的设置
-
同时通过
访问其余资源http://10.211.20.26/magento/api/rest/products/
找不到
在此服务器上找不到请求的 URL /magento/api/rest/products/。
我的两个 magento 安装中都有产品。
【问题讨论】:
标签: magento rest magento-1.7