Load data from GraphQL API with REST data connector
I'm using Qlik Sense desktop and load data from an API using the REST connector. I cannot load all data at once, so I need to use pagination. The challenge here is, that GraphQL is used as query language.
My question is: How can I page data I load from a GraphQL endpoint when I have to pass the page information in the body of a POST request?
Some background information:
The answer as well is a JSON string containing the information I requested. I am mainly interested in content, but also requested pageInfo which contains hasNextPage (Bool) and totalCount (int).
The URL of the endpoint is always the same, no data is passed via URL. Pagination information cannot be sent via header (only Authorization, content-type,accept-language).
The request itself works. I just don't know how to handle the pagination.In each query, I have to manipulate the body of the request, changing the '0' to the number of the page I request.
Size is limited to 10.000. Currently, I would haveto do ~50 requests.