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.

Useful routes: A quick reference

Useful routes: A quick reference - WordPress Tutorial

From the course: WordPress: REST API

Start my 1-month free trial

Useful routes: A quick reference

- This API index provided at the /wp/v2/ route is really useful if you want to dig in and figure out what routes and end points and arguments are available on how to create custom requests for the REST API. However, if you're just looking for routes it's a bit tedious to work with because you have to scroll up and down and you can see it's a huge response with a ton of information. You have to kind of figure out what you want to use. To provide you with a quick reference for the basic routes in the WordPress REST API, I have created a collection of routes you can import directly in to Postman. They're available in the exercise files for this course under the assets folder. Once you've downloaded it on to your computer you can go to the Import button on the top left hand corner of Postman, choose Files and navigate to this file WP_REST_API.postman_collection. Open the file and the collection is imported in to Postman. To…

Contents