Pagination within body parameters


I´m using the http request node to query an api, within the body parameters pagination is set like this: “page”:1


I´m wondering how I could loop through it after I have received the first batch of 50 results.

Hey @Kool_Baudrillard, welcome to the community :tada:

Here is a simple pagination example using query parameters, but it would work just as well for body parameters instead (I just don’t have a suitable API for a demo workflow). It reads the page value from the API response using an expression in the Set node, adds 1 to it and writes it into a next_page field which the HTTP Request node can then use:

Hope this helps!