0

Using Postman as a Chrome extension I have had success accessing Pages(not posts as I don't use them) from my WP website.

Having trouble pulling data using the post-name url that I set way back in the Permalinks.

Here is what I have:

2

You need to use the slug argument: /wp-json/wp/v2/pages?slug=happy-days

  • How to show list of pages same as post. For ex. this is how post archive shows http://example.com/wp-json/wp/v2/posts?page=1&per_page=10. But how to show pages like this? – Rishabh Nov 14 '17 at 8:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.