Using the new built-in WordPress REST API to power your apps

I’m a fan of WordPress. I’m biassed of course, as I have been using it for many years and can think of ways to make it do what I want. Of course, WordPress has its limitations and will probably explode in extreme situations. But since extreme situations are rare and probably a good problem to have (lots of traffic for example), the platform is my go-to for MVPs.

The addition of the REST API has increased the possibilities for WordPress. Whereas before you were somewhat limited to a website or mobile websites, you can now have WordPress be the CMS for your mobile apps, browser extensions and any other client that you create that can grab its data from a remote server.

I guess this, in combination with PHP 7’s increased performance, has made WordPress a very interesting a compelling one-stop-shop for your tech MVP needs. The API is in development and still maturing

The API is still in development and still maturing but it is already at version 2 and seems to have stabilised in terms of syntax and endpoints. You can, of course, extend the basic API (posts, pages, etc) with your own routes. And this is what makes it even more compelling – mixing custom code with the WordPress codebase mixing and matching ready made functionality with customizations.

There were a few competing open-source projects to be the official REST API for WordPress but  it appears there is now one clear winner check it out if you haven’t already:

WordPress REST API

Leave A Comment