title: How to use Link Header of HTTP reponse to fetch next batch of data from github API?
body: <p>I'm trying to fetch all Github public repositories with this <code>GET</code> request: <code>https://api.github.com/repositories</code></p>
  
  <p>This seems to returns the first <code>100</code> repositories. The documentation says,</p>
  
  <pre><code>It's important to form calls with Link header values instead of constructing your own URLs.
  </code></pre>
  
  <p><a href="https://developer.github.com/v3/#link-header" rel="nofollow noreferrer">https://developer.github.com/v3/#link-header</a></p>
  
  <p>My questions is:</p>
  
  <ol>
  <li>How should I use the Link header of the <code>http-response</code> in Javascript <code>fetch</code> Api to get the next batch of data</li>
  </ol>
  
  <p>The above Api seems to return the first 100 APIs and the <code>link</code> in the <code>Response Headers</code>for the same is something like this:
   <code>link: &lt;https://api.github.com/repositories?since=369&gt;; rel="next", &lt;https://api.github.com/repositories{?since}&gt;; rel="first"</code></p>