WP REST API: creating and editing posts

In the previous parts of our tutorial we have gone through the foundations of WP REST API, different authentication methods and of course the process for us to retrieve content from a server, including the retrieval of different resources like posts and categories, which in turn could be narrowed down to even more specific details. We got familiar with the GET and OPTIONS request that will provide even more insight into how the API works, which should provide you with enough knowledge to be prepared for the more detailed steps that we will be going through in this part.

Our next step is to learn how to work with resources and especially how to create, delete and update them, and then analyze the yielded responses ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.