Rest_Forbidden Protected Pages
-
Hey
Great Plugin. I am able to create and get retrieve pages and posts no problem except I am not able to retrieve protected pages for some reason.
here is how I am testing: https://www.example.com/wp-json/v2/wp/pages/1215?password=0000
When I enter the correct password in the url as a test I get the following message:
{
“code”: “rest_forbidden”,
“message”: “Sorry, you are not allowed to do that.”,
“data”: {
“status”: 403
}
}
———————————————————————————–
otherwise I get the following:{
“code”: “rest_post_incorrect_password”,
“message”: “Incorrect post password.”,
“data”: {
“status”: 403
}
}
———————————————————————————–The password is clearly working but the functionality (Controller) for Pages doesn’t seem to be included by default to the plugin. Can you advise on what I should do?
Kind Regards
Anne
- The topic ‘Rest_Forbidden Protected Pages’ is closed to new replies.