Forum Discussion
pranaysharmaman
4 years agoRegular Visitor
How to retrieve custom response headers from a URL using Web Headers
I'm trying to make a call to a REST API that returns the total count of rows in a header X-Total-Count. However when making a call through Power BI, the Web.Headers only retrieves generic response h...
danextian
4 years agoSuper User
These might be able to pull the information you need.
Table.FromColumns({Lines.FromBinary(Web.Contents("url"), null, null, 65001)})= Web.BrowserContents("url")- pranaysharmaman4 years agoRegular Visitor
These only return the "body". I'm interested in a "header" (custom response header called X-Total-Count)