1
我已创建在Magento 2用户角色和新用户 image captureMagento的2 REST API抛出401未经授权错误
我在Chrome中使用的应用程序邮差:
在GET框:http://example.com/php.index/rest/V1/products/ 在类型使用基本身份验证用户名和密码
但我得到这个状态“401未授权”,这要求:
{
"message": "Consumer is not authorized to access %resources",
"parameters": {
"resources": "Magento_Catalog::products"
}
}
我可以使用用户名和密码登录Magento后端
任何解决方案?