The REST API plugin for Wordpress.
- Clone or download into your Wordpress project folder
- Extract it, into "api" folder
- api/
- wp-admin/
- wp-content/
- wp-includes/
- Then you are finish :)
url: http://yourdomain.com/api/index.php/recent/:paged
example: http://yourdomain.com/api/index.php/recent/1
method: GET
param: :paged for showing the content in "x" page.
url: http://yourdomain.com/api/index.php/category
method: GET
param: none
url: http://yourdomain.com/api/index.php/post/:id
example: http://yourdomain.com/api/index.php/post/403
method: GET
param: :id is a post id
url: http://yourdomain.com/api/index.php/category/:id
example: http://yourdomain.com/api/index.php/category/2
method: GET
param: :id is a category id
This project is licensed under the MIT license.