RestAPI Assistance
-
I’m having trouble utilizing the REST Api feature of the plugin.
Plugin version: Version 3.3.100WordPress Version: 6.5.5
PHP Version: 8.0
Whenever I try to access a specific endpoint I always get{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 403
}
}For example if I try the base url I do see the endpoints listed, but I can’t seem to access them despite being logged in and being an admin.
{
"namespace": "zephyr_project_manager/v1",
"routes": {
"/zephyr_project_manager/v1": {
"namespace": "zephyr_project_manager/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "zephyr_project_manager/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "{Removed}/wp-json/zephyr_project_manager/v1"
}
]
}
},
"/zephyr_project_manager/v1/tasks": {
"namespace": "zephyr_project_manager/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET",
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "{Removed}/wp-json/zephyr_project_manager/v1/tasks"
}
]
}
},
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.