Forum Discussion
Web.Headers missing headers
I'm trying to make calls to an API that gives details about pagination in the http response headers.
For example, it'll come back with something like:
x-pagination-more: true
So I need access to that header to know if there is another page of data.
But Web.Headers only returns some of the headers.
Is there another way to get at this information? Or can I just not use this api at all with Power BI?
3 Replies
- amitchandakSuper User
nl908 , there is some code discussed here. But not sure if that can help you
https://datachant.com/2016/06/27/cursor-based-pagination-power-query/
- AnonymousNot applicable
Hello nl908 were you able to resolve this? I have the same question and the article from amitchandak was similar but not quite close enough to help.
- jprdynamicappsHelper IV
The only way to get all headers (as opposed to a subset) is to use a custom connector.
Upvote suggestion to get all headers back here: https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=e47d7520-1509-ed11-b5cf-281878de6c19