Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

210
Views
how can I get all the date from a multiple pages from a json api?

There are 61 pages in this json file but with this call I only get the first page of it? How can I get all of them, please? Is there a loop or another way to use axios?

  <template>
  <div id="app">
    
      <thead>
     
      </thead>
      <tbody>
      {{items}}
      </tbody>

  
  </div>

</template>

<script>
import axios from 'axios';

export default {
  data() {
    return {
      items:[]
    }
  },


  created() {
    axios.get(`https://zbeta2.mykuwaitnet.net/backend/en/api/v2/media-center/press-release/?page=2&page_size=12&type=5`)
    .then(response => {
     
      this.items = response
    })
    
  }
}

</script>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try without ?page=2&page_size=12&type=5:

axios.get(`https://zbeta2.mykuwaitnet.net/backend/en/api/v2/media-center/press-release/`)

or you can set number of articles per page you want to receive (in your case 61 pages with 12 articles on each):

axios.get(`https://zbeta2.mykuwaitnet.net/backend/en/api/v2/media-center/press-release/?page=1&page_size=732&type=5`)
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!