Introduction to developing with the WordPress REST API

The WordPress REST API (or WP REST API) provides an interface for applications to interact with your WordPress site by sending and receiving data as JSON objects. It is the foundation of the WordPress Block Editor, and can likewise enable your theme, plugin, or custom application to present new, powerful interfaces for managing and publishing your site content.

This course presents a developer-oriented introduction to using and developing with the WP REST API. If you want to learn to use the WP REST API to power your next site build, plugin, or theme, or you just want to understand how it works, then this course is for you.

In this course you will learn:

  • How the WP REST API works with an introduction to WP REST API concepts
  • How to use the Backbone.js client that ships with WordPress to interact with the WP REST API
  • How to use API testing tools to test your REST API endpoints
  • How to extend the WP REST API through custom fields or custom routes and endpoints.

This course assumes you have a local WordPress installation, that you use a code editor you’re comfortable with, and that you have a way to access and add/delete data from your local WordPress database. This course also expects you to be comfortable with the PHP and JavaScript programming languages, as well as the basics of building WordPress plugins.

Ready to get started? Just click the Take Course button, and you will be on your way.

Using the WP REST API Interacting with the WP REST API Custom fields, authentication, and testing Modifying responses Custom routes & endpoints Conclusion