title: How to pull all JSON data from a URL and store it?
body: <p>For example, I have the following URL:</p>
  
  <pre><code>https://www.website.com/cf/script.php?page=1
  </code></pre>
  
  <p>This returns a large JSON object with 50 entries.  <code>?page=2</code> returns the next 50, so on and so forth.  What would be the best method to cycle through all given pages (say for example I want to go from pages 1-200) and store all the results in a separate table/database?  Preferable using Javascript.</p>