I have a REST endpoint with a page and size parameter:
In this example it returns the first page and every page has 10 records.
Now, I want to use DataTables, and found this example on StackOverflow, where I can add the data to the table from the REST response to the table.
But, this way, I add all the data to the table. I want to be able to add the data page per page, and make requests to the endpoints page per page. For example, on page load, I make a REST request for that page. When I click to the second page, I make a request again, for the data for that one.
Any way to do this in DataTables?