【发布时间】:2013-04-12 13:23:51
【问题描述】:
当我尝试使用 iPhone 访问 REST API 时,我在 URL 中传递了以下参数并使用了 POST 和 GET 这两种方法,但它显示 Access Denied。
oauth_version="1.0",
oauth_signature_method="HMAC-SHA1",
oauth_nonce="B0dlzkfMWCAn0TJ",
oauth_timestamp="1366280813",
oauth_consumer_key="klkjylsiozbv6vfdsqtuheqo3kmqqzv2",
oauth_token="t9pefrwylmg7webyepsqepotlhzbytkp",
oauth_signature="NeOwbCLUPbIyF9ErnHoFQOl9%2Bwo%3D"
我使用过 Firefox 和 Chrome 可用的 REST 客户端插件,REST API 使用 REST 客户端插件运行良好,但在 iPhone 中无法访问。
我正在为 oauth_timestamp、oauth_signature 和 oauth_nonce 生成一个随机值,然后 REST API 也显示 Access Denied。
请提供建议。
【问题讨论】:
标签: iphone magento oauth magento-1.7