laravel-json-api
laravel-json-api copied to clipboard
Pagination In Custom Method
I am using a controller which is extending JSONAPICONTROLLER. But in my index method I have overridden it. So Now I am trying to paginate the data and send them but facing difficulties. Can anyone help ?

You'd need to provide the pagination parameters from the request to the paginate() method you're calling. I'm assuming that's the problem, but not sure - you'd need to provide more info on what isn't working if that's not the problem.