title: WordPress Rest API get All Posts
body: <p>I am using the following to get posts</p>
  
  <p><code>http://demo.wp-api.org/wp-json/wp/v2/posts</code></p>
  
  <p>This by default gives me 10 posts, which is mentioned in the docs.</p>
  
  <p>But I want all the posts without having to keep track of pagination.</p>
  
  <p>Is that possible?</p>
  
  <p>If not is there a way I can run a JavaScript loop to get all posts?</p>
  
  <p>Thanks.</p>