How to get all posts from the WordPress REST API?

1

per_page returns posts in the range of 1 to 100, but needed to return 500. How to get all posts from the WordPress REST API?

    
asked by anonymous 17.05.2018 / 20:19

1 answer

0

If you use & filter [posts_per_page] = - 1 you return all ..

    
21.05.2018 / 22:57