# REST API Wordpress # Introducing the WP REST API With its inception in 2003, WordPress has grown up from merely a blogging platform to a full fledged content management system. Over these past years, it has matured enough to cater the need of vast majority of online audience and this is the reason it’s empowering more than 20% of the web today. With many new features being added to WordPress, one of the latest to-be addition is the REST API that allows other apps and platforms to interact with WordPress. It’s a revolutionary addition that will help developers build custom applications and integrated systems with WordPress. Since it provides the capability to add and retrieve content from any other client or site, without the need of having WordPress installed on that site, it allows WordPress to be used with any programming language or platform. In this multi-part series, we will be taking a look at the WP REST API and how it could be used to create user experiences that were otherwise impossible or at least, arduous with WordPress. We will first take a look at basic concepts including REST and JSON, and then explore the options available to us through the WP REST API.
| ``` GET wp/v2/posts ``` |
| ``` GET wp/v2/posts/100 ``` |
| ``` POST wp/v2/posts ``` |
| ``` PUT wp/v2/posts/100 ``` |
| ``` GET wp/v2/posts ``` |
| ``` wp/v2/posts ``` |
| ``` POST wp/v2/posts ``` |
| ``` wp/v2/posts/100 ``` |
| ``` $ git pull https://github.com/WP-API/WP-API.git ``` |
| ``` $ HEAD http://someothersite.com/ ``` |
| ``` http://localserver/wordpress-api/wp-json/ ``` |
| ``` (function( $ ) { ``` |
| ``` var $link = $( 'link[rel="https://github.com/WP-API/WP-API"]' ); ``` |
| ``` var api_root = $link.attr( 'href' ); ``` |
| ``` })( jQuery ); ``` |