Wordpress Restful API调查

详情请访问:
https://developer.wordpress.com/docs/api/

获取所有(自己添加的)posts的restful API:

https://public-api.wordpress.com/rest/v1.1/sites/$site/posts

获取某个(自己添加的)posts的restful API:

https://public-api.wordpress.com/rest/v1.1/sites/$site/posts/$post_ID

获取页面所有categories的 restful API:

https://public-api.wordpress.com/rest/v1.1/sites/$site/categories

获取页面所有tags的 restful API:

https://public-api.wordpress.com/rest/v1.1/sites/$site/tags

测试:

使用curl
使用postman

推荐使用postman,直观,清楚,信息足。

你可能感兴趣的:(Wordpress Restful API调查)