/wp-json/wp/v2/posts works only for one post per page
-
Hello!
I have issue with REST API.
When I try to open in browser url: https://site.domain/wp-json/wp/v2/posts – I get only blank page.
https://site.domain/wp-json/wp/v2/posts&per_page=1 — works fine. And I see array that contain last message.
https://site.domain/wp-json/wp/v2/posts&per_page=2 — returns blank page too.
https://site.domain/wp-json/wp/v2/posts&per_page=1&page=2 — works fine, returns second “page”
How to solve this issue? I need to get more pages per one request…
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘/wp-json/wp/v2/posts works only for one post per page’ is closed to new replies.