Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper IV
Helper IV

How does power query work with response headers to use Set-Cookies

Hi Team 


Does anyone have a fair understanding of how power query works with response headers. I'm trying to get through the cookies process and have been having a difficult time in doing so. No one seems to have done this in past and it is unclear if power query works with cookies. One of the old posts dated back in 2018 mentioned it does not, but I'm trying to figure out if things have changed. 

I'm trying to use set-cookies but not sure how it works. Example code from other language:


function(err, res, body){

                                                                console.log("Cookies:---->", JSON.stringify(res.headers["set-cookie"])) // This just a print to see cookies.

                                                                cookie = res.headers["set-cookie"];



I want use set-cookies in my below code:



headersForCookie = [ //#"Host"= "",
#"Authorization"= "Bearer "&Access_Token("password","token","code")[access_token]

Source = Web.Contents("",[Headers=headersForCookie] ),
convertasJson = Json.Document(Source)


Appreciate any response. 

Helper IV
Helper IV

Hello Team


I'm still chasing for the information on cookies. I would appreciate any response.

Helper IV
Helper IV

Its been quite some time and I'm still trying to get information on this. I know we would go out of vacation soon or some would already be on vacation. I would appreciate any inputs before we all head out to our vacation. 


Wishing you all happy holidays. 

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors