September 20, 2023
WordPress has had an interface for a REST API since version 4.7 (2016, 7
years) and it is still highly underrated. Why is it there and why is it so
important? What can you do with it?
First question, why does this interface exist?
The interface was intended from the beginning to display WordPress on
other sites, for example larger projects and Jamstack sites.- Mullenweg
certainly wanted to create a way to push the concept of Open Data.- They
probably already had the Gutenberg Block Editor in mind (WordPress 5
(2018, 5 years)).
Second question why is it so important?
– Surely because of points 1 and 2 , as just mentioned to drive the Development
for WordPress in general. And because it gets so absolutely out of its PHP
MySQL stack, which allows us to also implement webapps with it and to
open up new business lines, to synchronise news better or to monetarise
press products more easily. The other use cases, wp_remote_get
wp_remote_post , curl, telegram , twitter and interconnected things are also mind blowing, once you can see what it is capable of.