Hello,
while accessing API in postman it shows
{
"message": "Unauthorized",
"status": 401
}
I entered API key and email also in basic auth
This happens after transferring server,
Any one know what is this issue in server??
Hello,
while accessing API in postman it shows
Now its resolved,
Solution :
By default, unauthorized users can’t access the API at all.
To allow API access for unauthorized users, edit the config.local.php file in the root directory of your store: change 'api_allow_customer' => false, to 'api_allow_customer' => true,.
Hi,
But if we using the correct details of customer and config.local.php file in the root directory of your store: change 'api_allow_customer' => false still it show the following error on postman.
{
Hello,
Trying to use the API feature of CS-Cart and I don't know how. How do I trigger a API when there is a new order? Does anyone have examples that I might start with?
Thanks