REST APIs are a growing technique and a big opportunity for developers. Knowing how to create APIs and how to consume them gives you a great advantage. A REST API can be consumed everywhere. On mobile applications, on front-end (web apps) or any other devices that have access on the net.
|This provides last 10 latest posts||https://www.techtrekking.com/wp-json/wp/v2/posts|
|Retrieve post using post ID||https://www.techtrekking.com/wp-json/wp/v2/posts/154|
|This provides 10 categories||https://www.techtrekking.com/wp-json/wp/v2/categories|
|Retrieve specific categories||https://www.techtrekking.com/wp-json/wp/v2/categories/34|
|Get all tags||https://www.techtrekking.com/wp-json/wp/v2/tags|
|Get Specific tag||https://www.techtrekking.com/wp-json/wp/v2/tags/20|
|List of pages||https://www.techtrekking.com/wp-json/wp/v2/pages/2|