Forum Discussion
gustavofiretti
4 years agoFrequent Visitor
API Pagination Cursor
Hello, I'm trying to retrave data use an API, and i tested it in PostMan and it gaves me a json file. The API has a limit of 25 lines per page, and in the json i can see the link to the next pag...
gustavofiretti
4 years agoFrequent Visitor
The API gives me another URL to the next page, like that:
But for some reason, the code is not replacing this new URL.
about the logic, i think i'm in the righ way, but i don't know much about M language.
I understand that the code need to generate a list, then replace de last url for the next url and generate a new list and then combinate those lists.
The other thing is i think that i don't need the iteration number, because i need to do this loop until the link "next" be null.
BRVL
3 years agoFrequent Visitor
see my post: Solved: Re: Web based cursor pagination issue - Microsoft Power BI Community
should help since it's cursor based pagination.