Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
danielmorais
Frequent Visitor

Get "Headers" from a POST HTTP request via API

API specialists, help me!

 

I'm currently performing an HTTP POST in Power Query to get important data for authentication in an API.

When obtaining the results of this POST I use the Value.Metadata() function to obtain the metadata of the return I obtained, access the Headers field, but it only has a few options:

 

 

danielmorais_1-1691099219887.png

 

When I make the same request in Postman, I have several more options than what is shown in Power Query:

 

danielmorais_2-1691099255530.png

 

The attribute I need is exactly this "Set-Cookie". Has anyone gone through something similar and can guide me?

3 REPLIES 3
rubayatyasmin
Super User
Super User

hi, @danielmorais 

 

Found this thread, see if it helps

 

https://community.fabric.microsoft.com/t5/Power-Query/Saving-Cookies-from-POST-Request-to-Rest-API/m...

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


@rubayatyasmin, thanks for the response, but it didn't work yet 😥

@danielmorais seems there are a few resources on this topic and people really struggle working on this one. How about asking for help with Microsoft support? 

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.