Title: 小鱼哥's Replies | WordPress.org

---

# 小鱼哥

  [  ](https://wordpress.org/support/users/hellobeebee/)

 *   [Profile](https://wordpress.org/support/users/hellobeebee/)
 *   [Topics Started](https://wordpress.org/support/users/hellobeebee/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hellobeebee/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hellobeebee/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hellobeebee/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hellobeebee/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hellobeebee/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Analytics for WP] rest api endpoint not work](https://wordpress.org/support/topic/rest-api-endpoint-not-work/)
 *  Thread Starter [小鱼哥](https://wordpress.org/support/users/hellobeebee/)
 * (@hellobeebee)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/rest-api-endpoint-not-work/#post-16846997)
 * Oh my god, it turned out that it was because I used caching technology on Restapi,
   and I have already solved this problem. Thank you for your reply
    -  This reply was modified 2 years, 11 months ago by [小鱼哥](https://wordpress.org/support/users/hellobeebee/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Analytics for WP] rest api endpoint not work](https://wordpress.org/support/topic/rest-api-endpoint-not-work/)
 *  Thread Starter [小鱼哥](https://wordpress.org/support/users/hellobeebee/)
 * (@hellobeebee)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/rest-api-endpoint-not-work/#post-16846990)
 * I added ‘search’ to make the code work, 
   but I found that if the result is empty,
   it will be recorded multiple times. If there is data in the result, it will only
   be recorded once
 * e.g.
   [https://example.com/wp-json/wp/v2/posts?search=cat](https://example.com/wp-json/wp/v2/posts?search=xxxx)‘
   cat’ have 1 post in JSON,Search statistics occur once, and subsequent requests
   of the same type will no longer be recorded[https://example.com/wp-json/wp/v2/posts?search=](https://example.com/wp-json/wp/v2/posts?search=xxxx)
   bibibi‘bibibi’ have no post in JSON,Search statistics will always be recorded
 * I hope to receive your help
 * thanks

Viewing 2 replies - 1 through 2 (of 2 total)