title: How to Loop HTTPClient request to get all elements
body: <p>0Good Day,</p>
  
  <p>On my azure function v1 app I wrote a framework to handle <strong>HTTPCLIENT</strong> request/response and connect to our api service, I have a method to get all transactions(with parameters: pageNumber, pageSize), after calling the meththod with <strong>pageSize=100</strong>, Iam able to get the first 100 elements, but the total elements is lets say 1000, how can I loop my request to call the getTransaction again, if the response has more items or elements</p>
  
  <p>here is the example response of getting transaction:</p>
  
  <pre><code>{  
     "_embedded":{  
        "testTransactions":[  ]
     },
     "_links":{  },
     "page":{  
        "size":100,
        "totalElements":1000,
        "totalPages":10,
        "number":0
     }
  }    
  </code></pre>
  
  <p>Thanks</p>