my Rails API scrolls the pagination data in the response headers as follows:
X-Pagination {"total":332,"total_pages":12,"first_page":true,"last_page":false,"previous_page":null,"next_page":2,"out_of_bounds":false,"offset":0}
I need to access this value while calling getList () to display paginator, etc.
I saw the headlines are blank.
How can I solve this problem?
Thanks Stefano
pagination restangular
Stefano mancini
source share