wordpress rest api get all posts id code example Example: wordpress rest api get posts ping http://yourdomain.com/wp-json/wp/v2/posts