WordPress REST API link shows 403 error

I am using WP REST API in my wordpress blog. I am getting all the post using this link and it works fine. http://www.gmonetix.com/blog/wp-json/wp/v2/posts

But when I want to get a particular post by id such as http://www.gmonetix.com/blog/wp-json/wp/v2/posts/1122 , it shows 403: Error – access to the resource in this server is denied. Please give a solution for it.

Read more here: WordPress REST API link shows 403 error

Leave a Reply

Your email address will not be published. Required fields are marked *