i am using WP rest API v1 and everything is ok.
But now i want taste some WP rest API v2.
the problem is, when i cal:
mysite.com/wp-json/wp/v2/posts
or:
mysite.com/wp-json/wp/v2/post
or
mysite.com/wp-json/wp/v2/posts/
or any thing else is related ti this path:
mysite.com/wp-json/wp/v2…
the result is:
[{"code":"json_no_route","message":"\u0647\u06cc\u0686 \u0645\u0633\u06cc\u0631 \u062a\u0637\u0628\u06cc\u0642 URL \u0648 \u0631\u0648\u0634 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u067e\u06cc\u062f\u0627 \u0634\u062f"}]
and i don’t know what is the problem and the point is i want to use WP rest API v1 and v2, together, so disabling WP rest API v1 is not an option.
PS: I removed and add WP rest API v2 but nothing change.