admin管理员组

文章数量:1419253

Filter for Wordpress rest api not working. I use simple permalink (another one-s not the variant) and my url looks like this: /?rest_route=/wp/v2/posts this request works fine, but when i try to add filter /?rest_route=/wp/v2/posts?filter[numberposts]=10 thats gives me error:

{"code":"rest_no_route","message":"no route was found matching the url and request method","data":{"status":404}}

What is the reason of error? And how can i solve this?

I use nginx 1.10.2, Wordpress 4.7.5

本文标签: pluginswp rest api (v2) filter not working (404 errorrestnoroute)