diff --git a/rest-api/index.md b/rest-api/index.md index 20e15c5..f6b6031 100644 --- a/rest-api/index.md +++ b/rest-api/index.md @@ -8,6 +8,6 @@ WordPress 4.4 introduced the infrastructure for a REST API.  The REST API provi - `DELETE` should be used for deleting resources. - `OPTIONS` should be used to provide context about our resources. -A resource is any single entity or object.  A good example of a resource for WordPress would be a post. A post has different properties like its title and content.  A response from the API could show us title and content as fields in the response.  The REST API enables us to interact with posts and other WordPress resources  in a new way.  The REST API makes sharing our content with the rest of the web easier, and it provides us a structured way to handle complex interactions within WordPress. +A resource is any single entity or object.  A good example of a resource for WordPress would be a post. A post has different properties like its title and content.  A response from the API could show us title and content as fields in the response.  The REST API enables us to interact with posts and other WordPress resources  in a new way.  The REST API makes sharing our content with the rest of the web easier, and it provides a structured way to handle complex interactions within WordPress. In this chapter of the Plugin Handbook, we will explore how the API works and how we can leverage its power to do great things with WordPress!