我正在尝试使用Magento2restAPI,但即使只是从命令行卷曲,我得到的唯一响应也是Consumer is not authorized to access %resources
我设法弄到了一个代币curl -X POST "http://magento.dev.blackorange.nl/index.php/rest/V1/integration/admin/token"
我已经使用XAMPP在我的系统本地设置了magento<?php* Example of products list retrieve using Customer account via MagentoRESTAPI.';
$accessTokenRequestUrl = 'http://localhost/mage2/oauth/toke