Rest API does not work
-
Hi
I followed this:
https://docs.masteriyo.com/for-developers/rest-api#making-api-requests
curl -X 'GET' \ 'https://your-site.com/wp-json/masteriyo/v1/courses/categories' \ -H 'accept: application/json' \ -H 'authorization: Basic <your_auth_key>'but got this error:
{‘code’: ‘masteriyo_rest_cannot_read’, ‘message’: ‘Sorry, you cannot list resources.’, ‘data’: {‘status’: 401}}
how to fix that?
thanks
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
The topic ‘Rest API does not work’ is closed to new replies.
