0

enter image description hereI am using Wordpress version 4.4.1. And i am trying to activate WP REST API Version 2 plugin. And it activated successfully. But When i go to wp-json link it show the error 404 "URL not found". Anyone have any idea why i am getting this error. Thanks in advance

Following is my link try to get a wp-json:-

localhost/restDemo/wp-json enter image description here

3
  • I think the V2 is on this structure http://localhost/restDemo/wp-json/wp/v2/ e.g. http://localhost/restDemo/wp-json/wp/v2/pages?filter[posts_per_page]=4&filter[orderby]=ehem Commented Jan 29, 2016 at 5:45
  • check this stackoverflow.com/a/34893592/3639939 Commented Jan 29, 2016 at 6:01
  • Find the first screen shot. Still not working.. Commented Feb 17, 2016 at 12:33

1 Answer 1

0

Base on your screenshot, try localhost/restDemo/wp-json/wp/v2/posts

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.