我傳遞用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