我传递用firefox的“其他客户”插件的网址“本地主机/ Magento的/ API/REST /客户”下面的标头信息,Magento的API不工作,为客户
我正在通下列头信息:
Consumer key :olnnqgwm7gm75rtbft8w1wac4kp4vwig
Consumer secret:u9v6bdlpuopdlryc6vx0yjnslkj4vllo
Access token : null
Access token secret : null
我会给如下回应:所以在这里
<magento_api>
<messages>
<error>
<data_item>
<code>401</code>
<message>
oauth_problem=parameter_absent&oauth_parameters_absent=oauth_token
</message>
</data_item>
</error>
</messages>
</magento_api>
我想访问令牌和访问令牌机密如何获取它?
谢谢chanz现在我已经获得access_token,并且分享以便我可以访问**“localhost/magento/api/rest/products“**但我无法访问**”localhost/magento/api/rest/customers“** – 2013-04-09 10:02:51
如果您无法通过rest API访问客户端使用访问令牌tehn我必须说您的完整身份验证是没完成。有些事情出错了 – chanz 2013-04-10 12:42:38
是的,它使用管理员身份验证过程完成了谢谢。 – 2013-04-11 04:59:37