Title: Using with WP REST API (WP API) json_no_route error
Last modified: August 30, 2016

---

# Using with WP REST API (WP API) json_no_route error

 *  [anawaz.co](https://wordpress.org/support/users/anawazco/)
 * (@anawazco)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/using-with-wp-rest-api-wp-api-json_no_route-error/)
 * After Installing this plugin I tried all three types of methods for getting json
   of related posts however got following error.
 * [
    { “code”: “json_no_route”, “message”: “No route was found matching the URL
   and request method” } ]
 * Links tried:
    [http://example.com/wp-json/posts/%post_id%/sirp_related/](http://example.com/wp-json/posts/%post_id%/sirp_related/)
   [http://example.com/wp-json/sirp_related/%post_id%/](http://example.com/wp-json/sirp_related/%post_id%/)
   [http://example.com/wp-json/sirp_related/%post_id%/?filternum=5](http://example.com/wp-json/sirp_related/%post_id%/?filternum=5)
 * Should I have to modify any other files? Which files?
 * [https://wordpress.org/plugins/wp-simple-related-posts/](https://wordpress.org/plugins/wp-simple-related-posts/)

The topic ‘Using with WP REST API (WP API) json_no_route error’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-simple-related-posts_ffffff.svg)
 * [WP Simple Related Posts](https://wordpress.org/plugins/wp-simple-related-posts/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-related-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [anawaz.co](https://wordpress.org/support/users/anawazco/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/using-with-wp-rest-api-wp-api-json_no_route-error/)
 * Status: not resolved