我正在使用Magento 1.9.1.0版,并尝试通过OAuth集成使用Magento Rest API.我有消费者密钥和消费者秘密.现在想获取用于Rest API的OAuth令牌.我遵循了 www.magentocommerce/api/rest/authentication/oauth_authentication.html
I am using Magento version 1.9.1.0 and trying to use Magento Rest APIs using OAuth Integration. I have consumer key and consumer secret. Now want to get OAuth token for Rest APIs usage. I have followed www.magentocommerce/api/rest/authentication/oauth_authentication.html
在此,我们需要oauth_signature和时间戳,这是在管理面板上创建使用者时无法获得的.现在我们如何只获得消费者密钥和消费者秘密的OAuth令牌?
In this , we needed oauth_signature and timestamp which we doesn't get when we create consumer on admin panel . Now how can we get OAuth token with only consumer key and consumer secret ?
推荐答案请检查.htaccess文件是否已重写
please check that .htaccess file rewrite
RewriteRule ^api/rest api.php?type=rest [QSA,L]生效.
检查您使用的是Apache(不是nginx或其他不支持.htaccess的Web服务器)
Check you use Apache (not nginx or other Webserver that doesn't support .htaccess)
更多推荐
无法在OS X上获取Magento Rest Client的OAuth令牌
发布评论