wp-json query
-
Hy, i have this problem. I do that GET request:
www.xxxxxxx.xx/wp-json/posts?&filter[category_name]=nameofcategory&filter[posts_per_page]=82&page=1
i retrieve 82 elements.
I known that all the elements are 162, so if i do the same request like so:www.xxxxxxx.xx/wp-json/posts?&filter[category_name]=nameofcategory&filter[posts_per_page]=82&page=2
i get the other elements.But i should retrieve al the 162 elements in just one query.
I tried to dowww.xxxxxxx.xx/wp-json/posts?&filter[category_name]=nameofcategory&filter[posts_per_page]=162
but i get Error 500 even if i request with `&page=-1″.
Thanks everybody
- The topic ‘wp-json query’ is closed to new replies.