From the course: WordPress: REST API

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Explore the REST API response

Explore the REST API response - WordPress Tutorial

From the course: WordPress: REST API

Start my 1-month free trial

Explore the REST API response

- [Instructor] Now that you've seen how to interact with the Wordpress REST API using Postman, I'm pretty sure the first question you have is how do I know what routes I can use and what endpoints are available at those routes? After all, you don't want to just get the post index. You need direct access to specific posts and pages and categories and images and other data exactly when you need it. The cool thing is REST APIs are designed to be self-documenting, meaning they give you all the information about all the available routes and their end points and their arguments. All you have to do is ask. To see a list of every available route and endpoint, type in the URL of your site, so in my case morton.com, followed by WP dash JSON, WPV2. So I'll take away the pulses here. This is the route level route and all other routes start with this and then continue onwards by adding more specificity. When you send this get request,…

Contents