369.2.2. 消费者示例

消费者从 API 定期轮询 Wordpress 中域对象的时间。以下示例使用 Post 操作示例:

  • wordpress:post 检索 posts (默认为 10 个后)
  • wordpress:post?id=1 搜索特定的后