Chapter 4. Working with Forms Using REST API

WordPress, being an ever-improving content management system, is now moving toward becoming a full-fledged application framework, which brings up the necessity for new APIs. The WordPress REST API has been created to create necessary and reliable APIs. The plugin provides an easy-to-use REST API, available via HTTP that grabs your site's data in the JSON format and further retrieves it.

WordPress REST API is now in its second version and has brought a few core differences, compared to the previous one, including route registration via functions, endpoints that take a single parameter, and all built-in endpoints that use a common controller.

Overview

In this chapter, you'll learn how to write a functional ...

Get Learning WordPress REST API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.