paginate()
You can use this function to paginate the resource.
ts
import api from "axe-api-client";
// ...
const response = api.resource("users").paginate({
page: 1,
perPage: 10,
});IPaginatepage: The current page. The default value is1. It is optional.perPage: The value shows how many items will be fetched for each page. The default value is10. It is optional.
INFO
You should call the resource(url: string) function before using this function.
