繁体   English   中英

Magento REST API密钥和凭证

[英]Magento REST API Keys and credentials

在哪里可以找到oauth_customer.php的PHP文件?

$callbackUrl = "http://yourhost/oauth_customer.php";

我应该将这些保留为默认值吗?

$adminAuthorizationUrl = 'http://magentohost/oauth/authorize';
$accessTokenRequestUrl = 'http://magentohost/oauth/token';
$apiUrl = 'http://magentohost/api/rest';
$consumerKey = 'yourconsumerkey';
$consumerSecret = 'yourconsumersecret';

如果要使用REST API,请按照以下步骤操作...

这是针对SOAP的,但与REST API相同。

https://bmagento.wordpress.com/2015/04/03/how-to-create-soap-api-in-magento/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM