Need some guide to handle pagination api

Hi, I am new here need some guide to handle pagination.
I have a pagination api:
http://ip/records?page=1
http://ip/records?page=2
.
.
.

One page return 100 records. How can I show these records on in table. Actually I want something like when I click page 2 it fetch the page=2 records and so on.
My api response is:
{"items":,"page":476,"pages":475,"per_page":100,"total":474989}.
Can anyone help me with this?

Hi there @Awais_Tahir,

Here's a really helpful example of how you can do it

And thinking about it, You can simpliy add a page input component linked to the number of pages you have, and then change your api to http://ip/records?page={{pageInput1.value}})

1 Like

Adding page input component worked, Thank you