Skip to main content

Power BI

New

Custom response headers from a URL using Web Headers

Vote (7) Share
Pranay Sharma's profile image

Pranay Sharma on 21 Jul 2022 16:49:47

Currently Web.Headers only returns generic response headers. Most APIs return paging information(count, start,end) in response headers. Exposing custom response headers would significantly speed up integration of APIs to feed data in Power BI

Comments (2)
Pranay Sharma's profile image Profile Picture

Joseph Singh Francois on 11 Nov 2024 14:12:39

RE: Custom response headers from a URL using Web Headers

+1 for me too. I need to connect to my CMDB ( Spider) API, the authentication token is return within the response header. Since only a subset of the header is return, I have to create a custom connector to authenticate to the API and download the information into PowerBI.

Pranay Sharma's profile image Profile Picture

John Reilly on 15 Jul 2024 14:46:18

RE: Custom response headers from a URL using Web Headers

+1 on this. The Shopify REST api, for example, sends back pagination information in the header. Since it is filtered out but needed, you have to develop a custom connector, which then requires a Gateway.If the response headers were available, this could all be done without need of a connector.